aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_referrals.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_referrals.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_referrals.8')
-rw-r--r--doc/sg_referrals.814
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/sg_referrals.8 b/doc/sg_referrals.8
index 22ca08dc..b19e4006 100644
--- a/doc/sg_referrals.8
+++ b/doc/sg_referrals.8
@@ -1,11 +1,11 @@
-.TH SG_REFERRALS "8" "November 2012" "sg3_utils\-1.35" SG3_UTILS
+.TH SG_REFERRALS "8" "May 2014" "sg3_utils\-1.39" SG3_UTILS
.SH NAME
sg_referrals \- send SCSI REPORT REFERRALS command
.SH SYNOPSIS
.B sg_referrals
[\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-lba=LBA\fR] [\fI\-\-maxlen=LEN\fR]
-[\fI\-\-one-segment\fR] [\fI\-\-raw\fR] [\fI\-\-verbose\fR]
-[\fI\-\-version\fR] \fIDEVICE\fR
+[\fI\-\-one-segment\fR] [\fI\-\-raw\fR] [\fI\-\-readonly\fR]
+[\fI\-\-verbose\fR] [\fI\-\-version\fR] \fIDEVICE\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
@@ -14,7 +14,7 @@ response. This command was introduced in (draft) SBC\-3 revision 24 and
devices that support referrals should support this command.
.PP
The default action is to decode the response for all user data segment
-referral descriptors. The amount of output can be reduced by the
+referral descriptors. The amount of output can be reduced by the
\fI\-\-lba\fR and \fI\-\-one-segment\fR options.
.SH OPTIONS
Arguments to long options are mandatory for short options as well.
@@ -42,6 +42,10 @@ parameter only.
\fB\-r\fR, \fB\-\-raw\fR
output response in binary (to stdout).
.TP
+\fB\-R\fR, \fB\-\-readonly\fR
+open the \fIDEVICE\fR read\-only (e.g. in Unix with the O_RDONLY flag).
+The default is to open it read\-write.
+.TP
\fB\-v\fR, \fB\-\-verbose\fR
increase the level of verbosity, (i.e. debug output). Additional output
caused by this option is sent to stderr.
@@ -59,7 +63,7 @@ Written by Douglas Gilbert and Hannes Reinecke.
.SH "REPORTING BUGS"
Report bugs to <dgilbert at interlog dot com>.
.SH COPYRIGHT
-Copyright \(co 2009\-2012 Douglas Gilbert and Hannes Reinecke
+Copyright \(co 2009\-2014 Douglas Gilbert and Hannes Reinecke
.br
This software is distributed under a FreeBSD license. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.