aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2021-03-20 18:27:09 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2021-03-20 18:27:09 +0000
commit0e1964f8e01f11844557fdd877341641c5e8a96e (patch)
tree34934fff32d916942ef00d2b5ae6a3b2dd2f94a4 /doc
parent19b5bcdaf6a28ec9d8c08009ddbbbffefa91d692 (diff)
downloadsg3_utils-0e1964f8e01f11844557fdd877341641c5e8a96e.tar.gz
sg_opcodes: improve handling of RWCDLP field; sg_lib: add ZBC (2020) feature set entries
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@879 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc')
-rw-r--r--doc/sg_opcodes.825
-rw-r--r--doc/sg_rep_zones.810
2 files changed, 20 insertions, 15 deletions
diff --git a/doc/sg_opcodes.8 b/doc/sg_opcodes.8
index 93a9508c..cff8684a 100644
--- a/doc/sg_opcodes.8
+++ b/doc/sg_opcodes.8
@@ -1,13 +1,13 @@
-.TH SG_OPCODES "8" "June 2018" "sg3_utils\-1.43" SG3_UTILS
+.TH SG_OPCODES "8" "March 2020" "sg3_utils\-1.46" SG3_UTILS
.SH NAME
sg_opcodes \- report supported SCSI commands or task management functions
.SH SYNOPSIS
.B sg_opcodes
[\fI\-\-alpha\fR] [\fI\-\-compact\fR] [\fI\-\-enumerate\fR] [\fI\-\-help\fR]
[\fI\-\-hex\fR] [\fI\-\-mask\fR] [\fI\-\-mlu\fR] [\fI\-\-no-inquiry\fR]
-[\fI\-\-opcode=OP\fR] [\fI\-\-pdt=DT\fR] [\fI\-\-raw\fR] [\fI\-\-rctd\fR]
-[\fI\-\-repd\fR] [\fI\-\-sa=SA\fR] [\fI\-\-tmf\fR] [\fI\-\-unsorted\fR]
-[\fI\-\-verbose\fR] [\fI\-\-version\fR] \fIDEVICE\fR
+[\fI\-\-opcode=OP[,SA]\fR] [\fI\-\-pdt=DT\fR] [\fI\-\-raw\fR]
+[\fI\-\-rctd\fR] [\fI\-\-repd\fR] [\fI\-\-sa=SA\fR] [\fI\-\-tmf\fR]
+[\fI\-\-unsorted\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] \fIDEVICE\fR
.PP
.B sg_opcodes
[\fI\-a\fR] [\fI\-c\fR] [\fI\-e\fR] [\fI\-H\fR] [\fI\-m\fR] [\fI\-M\fR]
@@ -105,12 +105,17 @@ is given then that summary is not printed on stdout.
\fB\-O\fR, \fB\-\-old\fR
Switch to older style options. Please use as first option.
.TP
-\fB\-o\fR, \fB\-\-opcode\fR=\fIOP\fR
+\fB\-o\fR, \fB\-\-opcode\fR=\fIOP[,SA]\fR
the \fIDEVICE\fR will be queried for the given operation code (i.e. the
-\fIOP\fR value) which is the first byte of a SCSI command. \fIOP\fR is
-decimal unless prefixed by "0x" or it has a trailing "h". \fIOP\fR should
-be in the range 0 to 255 (0xff) inclusive. When this option is not given
-then all available SCSI commands supported by the \fIDEVICE\fR are listed.
+\fIOP\fR value) which is the first byte of a SCSI command. Optionally, if
+a \fISA\fR value is given, it will be used as that SCSI command's service
+action. Note that \fIOP\fR and \fIOP,0\fR are not the same thing, as SCSI
+does allow the service action to be 0 (but it is not comman). \fIOP\fR and
+\fISA\fR are decimal unless prefixed by "0x" or they have a trailing "h".
+\fIOP\fR should be in the range 0 to 255 (0xff) inclusive. \fISA\fR should
+be in the range 0 to 65535 (0xffff) inclusive. When this option is not
+given then all available SCSI commands supported by the \fIDEVICE\fR are
+listed.
.TP
\fB\-p\fR, \fB\-\-pdt\fR=\fIDT\fR
where \fIDT\fR is the peripheral device type. This is used together with
@@ -304,7 +309,7 @@ Written by Douglas Gilbert
.SH "REPORTING BUGS"
Report bugs to <dgilbert at interlog dot com>.
.SH COPYRIGHT
-Copyright \(co 2004\-2018 Douglas Gilbert
+Copyright \(co 2004\-2021 Douglas Gilbert
.br
This software is distributed under the GPL version 2. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/doc/sg_rep_zones.8 b/doc/sg_rep_zones.8
index cf810799..7d9c9a5d 100644
--- a/doc/sg_rep_zones.8
+++ b/doc/sg_rep_zones.8
@@ -1,12 +1,12 @@
-.TH SG_REP_ZONES "8" "June 2020" "sg3_utils\-1.45" SG3_UTILS
+.TH SG_REP_ZONES "8" "March 2021" "sg3_utils\-1.46" SG3_UTILS
.SH NAME
sg_rep_zones \- send SCSI REPORT ZONES command
.SH SYNOPSIS
.B sg_rep_zones
[\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-maxlen=LEN\fR] [\fI\-\-num=NUM\fR]
-[\fI\-\-raw\fR] [\fI\-\-readonly\fR] [\fI\-\-report=OPT\fR]
-[\fI\-\-start=LBA\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] [\fI\-\-wp\fR]
-\fIDEVICE\fR
+[\fI\-\-partial\fR] [\fI\-\-raw\fR] [\fI\-\-readonly\fR]
+[\fI\-\-report=OPT\fR] [\fI\-\-start=LBA\fR] [\fI\-\-verbose\fR]
+[\fI\-\-version\fR] [\fI\-\-wp\fR] \fIDEVICE\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
@@ -82,7 +82,7 @@ Written by Douglas Gilbert.
.SH "REPORTING BUGS"
Report bugs to <dgilbert at interlog dot com>.
.SH COPYRIGHT
-Copyright \(co 2014\-2020 Douglas Gilbert
+Copyright \(co 2014\-2021 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.