SCSI_READY(8) | SG3_UTILS | SCSI_READY(8) |
scsi_ready - do SCSI TEST UNIT READY on devices
scsi_ready [--brief] [--help] [--verbose] DEVICE [DEVICE]*
This bash shell script calls the sg_turs utility on each given DEVICE. This will send a SCSI TEST UNIT READY command to each DEVICE. Disks, tape drives and DVD/BD players amongst others may respond to this SCSI command.
Arguments to long options are mandatory for short options as well.
The exit status of this script is 0 when it is successful. Otherwise the exit status is that of the last sg_turs utility called. See the sg3_utils(8) man page.
Written by D. Gilbert
Copyright © 2009-2013 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty;
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sg_turs (sg3_utils)
May 2013 | sg3_utils-1.36 |