diff options
author | Bart Van Assche <bvanassche@google.com> | 2022-11-23 18:56:18 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-11-23 18:56:18 +0000 |
commit | 71b9916bab71328ec690b8677524e512d580d28f (patch) | |
tree | 207cdb23f8257e270a30143fde23d2033901581f /doc/scsi_mandat.8 | |
parent | 8718296061e35ba33bf88847e7498f3d7e38f8f1 (diff) | |
parent | 448b67b18a80f8cc0feaaa669deaf169faa169f3 (diff) | |
download | sg3_utils-71b9916bab71328ec690b8677524e512d580d28f.tar.gz |
Merge remote-tracking branch 'aosp/upstream-main' into HEAD am: 448b67b18a
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2312210
Change-Id: I9653250a81928fffacf92bb5d9daffbc0ad7b2a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'doc/scsi_mandat.8')
-rw-r--r-- | doc/scsi_mandat.8 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/scsi_mandat.8 b/doc/scsi_mandat.8 new file mode 100644 index 00000000..95a708c6 --- /dev/null +++ b/doc/scsi_mandat.8 @@ -0,0 +1,44 @@ +.TH SCSI_MANDAT "8" "May 2013" "sg3_utils\-1.36" SG3_UTILS +.SH NAME +scsi_mandat \- check SCSI device support for mandatory commands +.SH SYNOPSIS +.B scsi_mandat +[\fI\-\-help\fR] [\fI\-\-log\fR] [\fI\-\-quiet\fR] [\fI\-\-verbose\fR] +\fIDEVICE\fR +.SH DESCRIPTION +.\" Add any additional description here +.PP +This bash shell script calls several SCSI commands on the given +\fIDEVICE\fR. These SCSI commands are considered mandatory (although +that varies a little depending on which standard/draft the \fIDEVICE\fR +complies with). The results of each test and a pass/fail count are +output. +.SH OPTIONS +Arguments to long options are mandatory for short options as well. +.TP +\fB\-h\fR, \fB\-\-help\fR +print out the usage message then exit. +.TP +\fB\-L\fR, \fB\-\-log\fR +the output to stderr (from each SCSI command executed) is appended to +a file called 'scsi_mandat.err' in the current working directory. +.TP +\fB\-q\fR, \fB\-\-quiet\fR +the amount of output is reduced and typically only the pass/fail +count is output. +.TP +\fB\-v\fR, \fB\-\-verbose\fR +increase level or verbosity. +.SH EXIT STATUS +The exit status of this script is the number of "bad" errors found. +So an exit status of 0 means all mandatory SCSI commands worked as +expected. +.SH AUTHORS +Written by D. Gilbert +.SH COPYRIGHT +Copyright \(co 2011\-2013 Douglas Gilbert +.br +This software is distributed under a BSD\-2\-Clause license. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +.B sg_inq,sg_luns,sg_turs,sg_requests,sg_vpd,sg_senddiag (sg3_utils) |