aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_inq.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2012-02-23 05:17:49 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2012-02-23 05:17:49 +0000
commitc410806c13d2baab90641ef6816866cd6e6bfeff (patch)
tree2f16adddbbfae85dfe4eafd2ce804574a32bae27 /doc/sg_inq.8
parent5a7d1a76846e903ba66d96c2649ff8c700d0d35a (diff)
downloadsg3_utils-c410806c13d2baab90641ef6816866cd6e6bfeff.tar.gz
sg_inq --export, sg_sanitize --ause --fail --test=, partial spc4r34+sbc3r30 sync
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@441 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_inq.8')
-rw-r--r--doc/sg_inq.829
1 files changed, 20 insertions, 9 deletions
diff --git a/doc/sg_inq.8 b/doc/sg_inq.8
index 8a80530f..bfde5e3d 100644
--- a/doc/sg_inq.8
+++ b/doc/sg_inq.8
@@ -1,20 +1,21 @@
-.TH SG_INQ "8" "December 2010" "sg3_utils\-1.30" SG3_UTILS
+.TH SG_INQ "8" "February 2012" "sg3_utils\-1.34" SG3_UTILS
.SH NAME
sg_inq \- sends a SCSI INQUIRY or ATA IDENTIFY (PACKET) DEVICE command
and outputs the response
.SH SYNOPSIS
.B sg_inq
-[\fI\-\-ata\fR] [\fI\-\-cmddt\fR] [\fI\-\-descriptors\fR] [\fI\-\-extended\fR]
-[\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-id\fR] [\fI\-\-len=LEN\fR]
-[\fI\-\-maxlen=LEN\fR] [\fI\-\-page=PG\fR] [\fI\-\-raw\fR] [\fI\-\-verbose\fR]
-[\fI\-\-version\fR] [\fI\-\-vpd\fR] \fIDEVICE\fR
+[\fI\-\-ata\fR] [\fI\-\-cmddt\fR] [\fI\-\-descriptors\fR] [\fI\-\-export\fR]
+[\fI\-\-extended\fR] [\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-id\fR]
+[\fI\-\-len=LEN\fR] [\fI\-\-maxlen=LEN\fR] [\fI\-\-page=PG\fR]
+[\fI\-\-raw\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] [\fI\-\-vpd\fR]
+\fIDEVICE\fR
.PP
.B sg_inq
[\fI\-36\fR] [\fI\-a\fR] [\fI\-A\fR] [\fI\-b\fR] [\fI\-c\fR] [\fI\-cl\fR]
[\fI\-d\fR] [\fI\-e\fR] [\fI\-h\fR] [\fI\-H\fR] [\fI\-i\fR] [\fI\-l=LEN\fR]
[\fI\-m\fR] [\fI\-M\fR] [\fI\-o=OPCODE_PG\fR] [\fI\-p=VPD_PG\fR] [\fI\-P\fR]
-[\fI\-r\fR] [\fI\-s\fR] [\fI\-v\fR] [\fI\-V\fR] [\fI\-x\fR] [\fI\-36\fR]
-[\fI\-?\fR] \fIDEVICE\fR
+[\fI\-r\fR] [\fI\-s\fR] [\fI\-u\fR] [\fI\-v\fR] [\fI\-V\fR] [\fI\-x\fR]
+[\fI\-36\fR] [\fI\-?\fR] \fIDEVICE\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
@@ -43,7 +44,7 @@ and \fI\-\-hex\fR options can be used to manipulate the output. If the
and the \fIDEVICE\fR is assumed to be ATA (or ATAPI).
.PP
The reference document used for interpreting an INQUIRY is T10/1713\-D
-Revision 11 (SPC\-4, 14 May 2007) found at http://www.t10.org .
+Revision 34 (SPC\-4, 21 February 2012) found at http://www.t10.org .
Obsolete items in the standard INQUIRY response are displayed in
brackets. The reference document for the ATA IDENTIFY (PACKET) DEVICE
command is ATA8\-ACS found at http://www.t13.org .
@@ -79,6 +80,13 @@ if any.
\fB\-e\fR
see entry below for \fI\-\-vpd\fR.
.TP
+\fB\-u\fR, \fB\-\-export\fR
+print out information obtained from the device identification VPD page in
+the form: "SCSI_IDENT_<assoc>_<type>=<ident>" to stdout. This may be useful
+to tools like udev in Linux. If \fIPG\fR (from \fI\-\-page=PG\fR) is given
+then then it overrides the default choice of the device identification VPD
+page.
+.TP
\fB\-E\fR, \fB\-x\fR, \fB\-\-extended\fR
prints the extended INQUIRY VPD page [0x86].
.TP
@@ -312,6 +320,9 @@ can then be piped to "hdparm \-\-Istdin".
decodes the SCSI Ports VPD page [0x88].
Equivalent to '\-\-page=sp' in the main description.
.TP
+\fB\-u\fR
+equivalent to '\-\-export' in the main description.
+.TP
\fB\-v\fR
increase level of verbosity. Can be used multiple times.
.TP
@@ -354,7 +365,7 @@ Written by Douglas Gilbert
.SH "REPORTING BUGS"
Report bugs to <dgilbert at interlog dot com>.
.SH COPYRIGHT
-Copyright \(co 2001\-2010 Douglas Gilbert
+Copyright \(co 2001\-2012 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.