aboutsummaryrefslogtreecommitdiff
path: root/doc/scsi_mandat.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2011-12-06 21:50:07 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2011-12-06 21:50:07 +0000
commitc978e06c7bb4c0afcfc016e15647d3fa1aec9e5d (patch)
tree831e668710723429edf6244584119fa4b311364c /doc/scsi_mandat.8
parent4df087f935f93427cf0a6048c00987bfce1da814 (diff)
downloadsg3_utils-c978e06c7bb4c0afcfc016e15647d3fa1aec9e5d.tar.gz
sg_ses: identify vendor specific element types; manpages: scsi_satl, scsi_logging_level, scsi_temperature, scsi_mandat
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@429 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/scsi_mandat.8')
-rw-r--r--doc/scsi_mandat.844
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..75b4edb3
--- /dev/null
+++ b/doc/scsi_mandat.8
@@ -0,0 +1,44 @@
+.TH SCSI_MANDAT "8" "December 2011" "sg3_utils\-1.33" 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 bourne 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 Douglas Gilbert
+.br
+This software is distributed under a FreeBSD 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)