diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2010-04-24 21:40:27 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2010-04-24 21:40:27 +0000 |
commit | 9d34fc2aafa14b638823bc40e788e1d2464f8a0e (patch) | |
tree | 3557dd82b2e8dd38982c6e72a4d3c7206a24e6fd | |
parent | 3457b26ece045d246779a9e8f4a1e7cb840d7573 (diff) | |
download | sg3_utils-9d34fc2aafa14b638823bc40e788e1d2464f8a0e.tar.gz |
sg_read_long manpage
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@339 6180dd3e-e324-4e3e-922d-17de1ae2f315
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | doc/sg_read_long.8 | 14 |
2 files changed, 11 insertions, 5 deletions
@@ -2,7 +2,7 @@ Each utility has its own version number, date of last change and some description at the top of its ".c" file. All utilities in the main directory have their own "man" pages. There is also a sg3_utils man page. -Changelog for sg3_utils-1.30 [20100424] [svn: r338] +Changelog for sg3_utils-1.30 [20100424] [svn: r339] - sg_inq: update version descriptor list to spc4r24 - sg_lib: sync asc/ascq list to spc4r24 - sg_read_long: add --readonly option (open() is rw) diff --git a/doc/sg_read_long.8 b/doc/sg_read_long.8 index 580f0814..ea2db059 100644 --- a/doc/sg_read_long.8 +++ b/doc/sg_read_long.8 @@ -1,11 +1,11 @@ -.TH SG_READ_LONG "8" "March 2009" "sg3_utils\-1.27" SG3_UTILS +.TH SG_READ_LONG "8" "April 2010" "sg3_utils\-1.30" SG3_UTILS .SH NAME sg_read_long \- send a SCSI READ LONG command .SH SYNOPSIS .B sg_read_long [\fI\-\-16\fR] [\fI\-\-correct\fR] [\fI\-\-help\fR] [\fI\-\-lba=LBA\fR] -[\fI\-\-out=OF\fR] [\fI\-\-pblock\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] -[\fI\-\-xfer_len=BTL\fR] \fIDEVICE\fR +[\fI\-\-out=OF\fR] [\fI\-\-pblock\fR] [\fI\-\-readonly\fR] [\fI\-\-verbose\fR] +[\fI\-\-version\fR] [\fI\-\-xfer_len=BTL\fR] \fIDEVICE\fR .SH DESCRIPTION .\" Add any additional description here .PP @@ -49,6 +49,12 @@ physical block (plus ECC data) containing the requested logical block address is read. The default is to leave the 'PBLOCK' bit clear in which case the logical block (plus any ECC data) is read. .TP +\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 +READ LONG 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). .TP @@ -83,7 +89,7 @@ Written by Douglas Gilbert. .SH "REPORTING BUGS" Report bugs to <dgilbert at interlog dot com>. .SH COPYRIGHT -Copyright \(co 2004\-2007 Douglas Gilbert +Copyright \(co 2004\-2010 Douglas Gilbert .br This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |