aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_verify.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2011-02-06 23:27:17 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2011-02-06 23:27:17 +0000
commit9c835372f5e737b9e967f6b2a9eabf2a401713a3 (patch)
tree00d45353f36dd059dae15763fd2b8ca5f96e11bf /doc/sg_verify.8
parentaa8ab6d6c3c1fafa40023ecdcffbafc716146307 (diff)
downloadsg3_utils-9c835372f5e737b9e967f6b2a9eabf2a401713a3.tar.gz
add --readonly option to sg_get_config, sg_rmsn and sg_verify
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@378 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_verify.8')
-rw-r--r--doc/sg_verify.812
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/sg_verify.8 b/doc/sg_verify.8
index 441ff47e..7ff38488 100644
--- a/doc/sg_verify.8
+++ b/doc/sg_verify.8
@@ -1,11 +1,11 @@
-.TH SG_VERIFY "8" "March 2009" "sg3_utils\-1.27" SG3_UTILS
+.TH SG_VERIFY "8" "February 2011" "sg3_utils\-1.31" SG3_UTILS
.SH NAME
sg_verify \- invoke SCSI VERIFY command(s) on a block device
.SH SYNOPSIS
.B sg_verify
[\fI\-\-bpc=BPC\fR] [\fI\-\-count=COUNT\fR] [\fI\-\-dpo\fR] [\fI\-\-help\fR]
-[\fI\-\-lba=LBA\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR]
-[\fI\-\-vrprotect=VRP\fR] \fIDEVICE\fR
+[\fI\-\-lba=LBA\fR] [\fI\-\-readonly\fR] [\fI\-\-verbose\fR]
+[\fI\-\-version\fR] [\fI\-\-vrprotect=VRP\fR] \fIDEVICE\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
@@ -51,6 +51,10 @@ where \fILBA\fR specifies the logical block address of the first block to
start the verify operation. \fILBA\fR is assumed to be decimal unless prefixed
by '0x' or a trailing 'h' (see below). The default value is 0 (i.e. the start
of the device).
+\fB\-r\fR, \fB\-\-readonly\fR
+opens the DEVICE read\-only rather than read\-write which is the
+default. The Linux sg driver needs read\-write access for the SCSI
+VERIFY command but other access methods may require read\-only access.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
increase the level of verbosity, (i.e. debug output).
@@ -85,7 +89,7 @@ Written by Douglas Gilbert.
.SH "REPORTING BUGS"
Report bugs to <dgilbert at interlog dot com>.
.SH COPYRIGHT
-Copyright \(co 2004\-2009 Douglas Gilbert
+Copyright \(co 2004\-2011 Douglas Gilbert
.br
This software is distributed under a FreeBSD license. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.