aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_vpd.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2014-05-12 18:11:45 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2014-05-12 18:11:45 +0000
commit6f08d95bf0f49a3430ba6d3ac06c3f8b51b4d8d2 (patch)
treea51b893d2571fe82df396dacd82cb575d105cfd4 /doc/sg_vpd.8
parent7c5eb1f951e4349bef24fe9056fdc6c190217d95 (diff)
downloadsg3_utils-6f08d95bf0f49a3430ba6d3ac06c3f8b51b4d8d2.tar.gz
change SG_PERSIST_O_RDONLY to SG_PERSIST_IN_RDONLY; more --readonly options; windows work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@574 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_vpd.8')
-rw-r--r--doc/sg_vpd.85
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/sg_vpd.8 b/doc/sg_vpd.8
index cd0838d5..5c51cdf9 100644
--- a/doc/sg_vpd.8
+++ b/doc/sg_vpd.8
@@ -1,4 +1,4 @@
-.TH SG_VPD "8" "March 2014" "sg3_utils\-1.38" SG3_UTILS
+.TH SG_VPD "8" "May 2014" "sg3_utils\-1.39" SG3_UTILS
.SH NAME
sg_vpd \- fetch SCSI VPD page and/or decode its response
.SH SYNOPSIS
@@ -148,6 +148,9 @@ a SCSI generic (sg) device. In the 2.6 series block devices (e.g. disks
and ATAPI DVDs) can also be specified. For example "sg_inq /dev/sda"
will work in the 2.6 series kernels. From lk 2.6.6 other SCSI "char"
device names may be used as well (e.g. "/dev/st0m").
+.PP
+The \fIDEVICE\fR is opened with a read\-only flag (e.g. in Unix with the
+O_RDONLY flag).
.SH EXIT STATUS
The exit status of sg_vpd is 0 when it is successful. Otherwise see
the sg3_utils(8) man page.