aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_inq.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2014-02-16 04:05:54 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2014-02-16 04:05:54 +0000
commit16cc45e3f1f7bd5f8415d013664e1dd5de5aa385 (patch)
tree87b31450e6e5098fd222ca21b49d10db3c7e5dbd /doc/sg_inq.8
parenta6cf83a7f0489516752d365830d169053c2f7fa3 (diff)
downloadsg3_utils-16cc45e3f1f7bd5f8415d013664e1dd5de5aa385.tar.gz
more --inhex work on sg_inq + cleanup; similar preparatory work for sg_vpd
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@552 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_inq.8')
-rw-r--r--doc/sg_inq.815
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/sg_inq.8 b/doc/sg_inq.8
index 86f76826..f5e1f25a 100644
--- a/doc/sg_inq.8
+++ b/doc/sg_inq.8
@@ -40,15 +40,15 @@ is mandatory. The \fI\-\-id\fR option decodes this page. New VPD page
information is no longer being added to this utility. To get information
on new VPD pages see the sg_vpd(8) or sdparm(8) utilities.
.PP
-If the \fIDEVICE\fR exists and the SCSI INQUIRY fails (because the SG_IO ioctl
-is not supported) then an ATA IDENTIFY (PACKET) DEVICE is tried. If it
-succeeds then device identification strings are output. The \fI\-\-raw\fR
-and \fI\-\-hex\fR options can be used to manipulate the output. If the
-\fI\-\-ata\fR option is given then the SCSI INQUIRY is not performed
+In Linux, if the \fIDEVICE\fR exists and the SCSI INQUIRY fails (e.g. because
+the SG_IO ioctl is not supported) then an ATA IDENTIFY (PACKET) DEVICE is
+tried. If it succeeds then device identification strings are output. The
+\fI\-\-raw\fR and \fI\-\-hex\fR options can be used to manipulate the output.
+If the \fI\-\-ata\fR option is given then the SCSI INQUIRY is not performed
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 36e (SPC\-4, 24 August 2012) found at http://www.t10.org .
+Revision 36q (SPC\-4, 12 February 2014) found at http://www.t10.org .
Obsolete and reserved items in the standard INQUIRY response output are
displayed in brackets. The reference document for the ATA IDENTIFY (PACKET)
DEVICE command is ATA8\-ACS found at http://www.t13.org .
@@ -314,6 +314,9 @@ descriptors". If \fI\-h\fR is given then each descriptor header is decoded
and the identifier itself is output in hex. To see the whole VPD 0x83 page
response in hex use '\-p=83 \-h'.
.TP
+\fB\-I\fR=\fIFN\fR
+equivalent to \fI\-\-inhex=FN\fR in the OPTIONS section.
+.TP
\fB\-m\fR
decodes the Management network addresses VPD page [0x85]. Equivalent
to '\-\-page=mna' in the OPTIONS section.