diff options
Diffstat (limited to 'doc/sg_opcodes.8')
-rw-r--r-- | doc/sg_opcodes.8 | 25 |
1 files changed, 15 insertions, 10 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. |