1SCSI_READY(8) SG3_UTILS SCSI_READY(8)
2
3
4
6 scsi_ready - do SCSI TEST UNIT READY on devices
7
9 scsi_ready [--brief] [--help] [--verbose] DEVICE [DEVICE]*
10
12 This bourne shell script calls the sg_turs utility on each given
13 DEVICE. This will send a SCSI TEST UNIT READY command to each DEVICE.
14 Disks, tape drives and DVD/BD players amongst others may respond to
15 this SCSI command.
16
18 Arguments to long options are mandatory for short options as well.
19
20 -b, --brief
21 for each DEVICE given output a line containing either '
22 ready' or ' device not ready'. If DEVICE is not found or
23 there is another serious error then an error message will appear
24 instead.
25
26 -h, --help
27 print out the usage message then exit.
28
29 -v, --verbose
30 increase level or verbosity.
31
33 The exit status of this script is 0 when it is successful. Otherwise
34 the exit status is that of the last sg_turs utility called. See the
35 sg3_utils(8) man page.
36
38 Written by D. Gilbert
39
41 Copyright © 2009 Douglas Gilbert
42 This software is distributed under a FreeBSD license. There is NO war‐
43 ranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
44 POSE.
45
47 sg_turs (sg3_utils)
48
49
50
51sg3_utils-1.28 October 2009 SCSI_READY(8)