Query: scsi_mode_sense
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_MODE_SENSE(9) SCSI mid layer SCSI_MODE_SENSE(9)NAMEscsi_mode_sense - issue a mode sense, falling back from 10 to six bytes if necessary.SYNOPSISint 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);ARGUMENTSsdev 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.DESCRIPTIONReturns zero if unsuccessful, or the header offset (either 4 or 8 depending on whether a six or ten byte command was issued) if successful.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_MODE_SENSE(9)
Related Man Pages |
---|
fc_remote_port_delete(9) - centos |
scsi_validate_sense(9f) - opensolaris |
scsi_arq_status(9s) - suse |
scsi_arq_status(9s) - v7 |
scsi_arq_status(9s) - linux |
Similar Topics in the Unix Linux Community |
---|
Change directory error |
Getting command output to putty window title. |
Tar Command |
The Future of the PM (Private Message) System at UNIX.com |
Shopt -s histappend |