Poster of Linux kernelThe best gift for a Linux geek
SCSI_READY

SCSI_READY

Section: SG3_UTILS (8) Updated: October 2009
Local index Up
 

NAME

scsi_ready - do SCSI TEST UNIT READY on devices  

SYNOPSIS

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

DESCRIPTION

This bourne 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

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.
 

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.  

AUTHORS

Written by D. Gilbert  

COPYRIGHT

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

SEE ALSO

sg_turs (sg3_utils)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
AUTHORS
COPYRIGHT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:02:19 GMT, April 16, 2011