SCSI\_READY(8) SG3\_UTILS SCSI\_READY(8)

# [NAME](#NAME)

scsi\_ready - do SCSI TEST UNIT READY on devices

# [SYNOPSIS](#SYNOPSIS)

**scsi\_ready** \[*--brief*] \[*--help*] \[*--verbose*] *DEVICE* \[*DEVICE*]*

# [DESCRIPTION](#DESCRIPTION)

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.

# [OPTIONS](#OPTIONS)

Arguments to long options are mandatory for short options as well.

[**-b**, **--brief**](#b)

for each *DEVICE* given output a line containing either ' ready' or ' device not ready'. If *DEVICE* is not found or there is another serious error then an error message will appear instead.

[**-h**, **--help**](#h)

print out the usage message then exit.

[**-v**, **--verbose**](#v)

increase level or verbosity.

# [EXIT STATUS](#EXIT_STATUS)

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/enterprise-packages/sg3-utils/sg3_utils.8) man page.

# [AUTHORS](#AUTHORS)

Written by D. Gilbert

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2009-2013 Douglas Gilbert  
This software is distributed under a BSD-2-Clause license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# [SEE ALSO](#SEE_ALSO)

**sg\_turs (sg3\_utils)**

May 2013 sg3\_utils-1.36

---

Document: scsi_ready(8) from sg3-utils 1.49-r3 (Chainguard OS)
Source: https://github.com/doug-gilbert/sg3_utils.git
