scsi_mode_sense man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

SCSI_MODE_SENSE(9)		SCSI mid layer		    SCSI_MODE_SENSE(9)

NAME
       scsi_mode_sense - issue a mode sense, falling back from 10 to six bytes
       if necessary.

SYNOPSIS
       int scsi_mode_sense(struct scsi_device * sdev, int dbd, int modepage,
			   unsigned char * buffer, int len, int timeout,
			   int retries, struct scsi_mode_data * data,
			   struct scsi_sense_hdr * sshdr);

ARGUMENTS
       sdev
	   SCSI device to be queried

       dbd
	   set if mode sense will allow block descriptors to be returned

       modepage
	   mode page being requested

       buffer
	   request buffer (may not be smaller than eight bytes)

       len
	   length of request buffer.

       timeout
	   command timeout

       retries
	   number of retries before failing

       data
	   returns a structure abstracting the mode header data

       sshdr
	   place to put sense data (or NULL if no sense to be collected). must
	   be SCSI_SENSE_BUFFERSIZE big.

DESCRIPTION
       Returns zero if unsuccessful, or the header offset (either 4 or 8
       depending on whether a six or ten byte command was issued) if
       successful.

AUTHORS
       James Bottomley <James.Bottomley@hansenpartnership.com>
	   Author.

       Rob Landley <rob@landley.net>
	   Author.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		    SCSI_MODE_SENSE(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net