aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_inq.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2013-01-10 00:21:32 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2013-01-10 00:21:32 +0000
commit6f6816ab5619e8aa2255542d58cba5672194d135 (patch)
tree683e34cf43c61842a89e14d4e72a34b160892857 /doc/sg_inq.8
parentf51ec51f5b83372510c8da84eceeb898a7790892 (diff)
downloadsg3_utils-6f6816ab5619e8aa2255542d58cba5672194d135.tar.gz
move rescan-scsi-bus.sh to scripts folder; sg_inq --export corrections
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@474 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_inq.8')
-rw-r--r--doc/sg_inq.817
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/sg_inq.8 b/doc/sg_inq.8
index eff3cbe5..000de373 100644
--- a/doc/sg_inq.8
+++ b/doc/sg_inq.8
@@ -80,12 +80,17 @@ if any.
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. Only other value of \fIPG\fR supported is 0x80 which is the unit
-serial number VPD page (used by older disks).
+prints out information obtained from the device. The output can be
+modified by selecting a VPD page with \fIPG\fR (from
+\fI\-\-page=PG\fR). If the device identification VPD page 0x83 is
+given it prints out information in the form:
+"SCSI_IDENT_<assoc>_<type>=<ident>" to stdout. If the device serial
+number VPD page 0x80 is given it prints out information in the form:
+"SCSI_SERIAL=<ident>". Other VPD pages are not supported. If no VPD
+page is given it prints out information in the form:
+"SCSI_VENDOR=<vendor>", "SCSI_MODEL=<model>", and
+"SCSI_REVISION=<rev>", taken from the standard inquiry. This may be
+useful for tools like udev in Linux.
.TP
\fB\-E\fR, \fB\-x\fR, \fB\-\-extended\fR
prints the extended INQUIRY VPD page [0x86].