Man Page: scsi_test_unit_ready
Operating Environment: centos
Section: 9
SCSI_TEST_UNIT_READY(9) SCSI mid layer SCSI_TEST_UNIT_READY(9)NAMEscsi_test_unit_ready - test if unit is readySYNOPSISint scsi_test_unit_ready(struct scsi_device * sdev, int timeout, int retries, struct scsi_sense_hdr * sshdr_external);ARGUMENTSsdev scsi device to change the state of. timeout command timeout retries number of retries before failing sshdr_external Optional pointer to struct scsi_sense_hdr for returning sense. Make sure that this is cleared before passing in.DESCRIPTIONReturns zero if unsuccessful or an error if TUR failed. For removable media, UNIT_ATTENTION sets ->changed flag.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_TEST_UNIT_READY(9)
| Related Man Pages |
|---|
| scsi_device(9s) - sunos |
| ql-set-cmd-timeout(8) - debian |
| fc_remote_port_delete(9) - suse |
| struct_ieee80211_conf(9) - suse |
| scsi_device(9s) - centos |
| Similar Topics in the Unix Linux Community |
|---|
| Set hard block limit for user using quota |
| DB2 convert digits to binary format |
| Shopt -s histappend |
| CentOS 6 ran out of space, need to reclaim it |
| [TIP] Processing YAML files with yq |