aboutsummaryrefslogtreecommitdiff
path: root/doc/scsi_mandat.8
blob: 95a708c6d40d3d6b3bb08ff4cb2295ea13e1d93f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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)