logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

scsi_ready - do SCSI TEST UNIT READY on devices

Authors

       Written by D. Gilbert

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.

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 page.

Name

       scsi_ready - do SCSI TEST UNIT READY on devices

Options

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

       -b, --brief
              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
              print out the usage message then exit.

       -v, --verbose
              increase level or verbosity.

See Also

sg_turs(sg3_utils)

sg3_utils-1.36                                      May 2013                                       SCSI_READY(8)

Synopsis

scsi_ready [--brief] [--help] [--verbose] DEVICE [DEVICE]*

See Also