aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_inq.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-06-03 23:59:56 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-06-03 23:59:56 +0000
commite05f7acda57fbbbad555df38fef89aa70447b590 (patch)
treeeeb77582446b28c0b89f2415f8a0a34eef3e1fc4 /doc/sg_inq.8
parent14a6fbe3500a5ead474126ded5e0f1df8dd88ade (diff)
downloadsg3_utils-e05f7acda57fbbbad555df38fef89aa70447b590.tar.gz
sg_decode sense: add --err=ES; sg_dd, sgp_dd, sgm_dd: add --dry-run and --verbose options; introduce SG3_UTILS_DSENSE environment variable; sg_lib: add sg_nvme_desc2sense(), sg_build_sense_buffer(), and pr2ws()
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@777 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_inq.8')
-rw-r--r--doc/sg_inq.88
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/sg_inq.8 b/doc/sg_inq.8
index a5edbf65..f94a8916 100644
--- a/doc/sg_inq.8
+++ b/doc/sg_inq.8
@@ -65,7 +65,7 @@ option name.
\fB\-a\fR, \fB\-\-ata\fR
Assume given \fIDEVICE\fR is an ATA or ATAPI device which can receive ATA
commands from the host operating system. Skip the SCSI INQUIRY command and
-use either the ATA IDENTIFY DEVICE command (for non-packet devices) or the
+use either the ATA IDENTIFY DEVICE command (for non\-packet devices) or the
ATA IDENTIFY PACKET DEVICE command. To show the response in hex, add
a '\-\-verbose' option. This option is only available in Linux.
.TP
@@ -186,7 +186,7 @@ Do not attempt to additionally retrieve the serial number VPD page (0x80) to
enhance the output of a standard INQUIRY. So with this option given and no
others, this utility will send a standard INQUIRY SCSI command and decode
its response. No other SCSI commands will be sent to the \fIDEVICE\fR.
-Without this option an additional SCSI command is sent: a (non-standard)
+Without this option an additional SCSI command is sent: a (non\-standard)
SCSI INQUIRY to fetch the Serial Number VPD page. However the Serial
Number VPD page is not mandatory (while the Device Identification page is
mandatory but a billion USB keys ignore that) and may cause nuisance error
@@ -330,8 +330,8 @@ get the controller's Identify decoded use the \fI\-\-only\fR option.
.PP
It is possible that even though the \fIDEVICE\fR presents as a NVMe device,
it has a SNTL and accepts SCSI commands. In this case to send a SCSI INQUIRY
-command (and fetch its VPD pages) use 'sg_vpd -p sinq <dev>' (or to get VPD
-pages: 'sg_vpd -p <vpd_page> <dev>').
+command (and fetch its VPD pages) use 'sg_vpd \-p sinq <dev>' (or to get VPD
+pages: 'sg_vpd \-p <vpd_page> <dev>').
.SH EXIT STATUS
The exit status of sg_inq is 0 when it is successful. Otherwise see
the sg3_utils(8) man page.