aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_luns.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2008-04-20 05:01:10 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2008-04-20 05:01:10 +0000
commit225607ea7a970aaee3152bb0b085352d2decc854 (patch)
tree6a8e389b704701eabea12e02df4ac47e09d2d66f /doc/sg_luns.8
parentf93d250a7c32b60595db211b195e9d167b778e70 (diff)
downloadsg3_utils-225607ea7a970aaee3152bb0b085352d2decc854.tar.gz
add --maxlen= argument to sg_luns
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@169 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_luns.8')
-rw-r--r--doc/sg_luns.815
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/sg_luns.8 b/doc/sg_luns.8
index 4e1e1bf1..f0cc26c5 100644
--- a/doc/sg_luns.8
+++ b/doc/sg_luns.8
@@ -1,11 +1,11 @@
-.TH SG_LUNS "8" "March 2007" "sg3_utils\-1.24" SG3_UTILS
+.TH SG_LUNS "8" "April 2008" "sg3_utils\-1.26" SG3_UTILS
.SH NAME
sg_luns \- send the SCSI REPORT LUNS command
.SH SYNOPSIS
.B sg_luns
-[\fI\-\-decode\fR] [\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-quiet\fR]
-[\fI\-\-raw\fR] [\fI\-\-select=SR\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR]
-\fIDEVICE\fR
+[\fI\-\-decode\fR] [\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-maxlen=LEN\fR]
+[\fI\-\-quiet\fR] [\fI\-\-raw\fR] [\fI\-\-select=SR\fR] [\fI\-\-verbose\fR]
+[\fI\-\-version\fR] \fIDEVICE\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
@@ -25,6 +25,11 @@ output the usage message then exit.
\fB\-H\fR, \fB\-\-hex\fR
output response to this command in ASCII hex.
.TP
+\fB\-m\fR, \fB\-\-maxlen\fR=\fILEN\fR
+where \fILEN\fR is the (maximum) response length in bytes. It is placed in
+the cdb's "allocation length" field. If not given (or \fILEN\fR is zero)
+then 65536 is used. The maximum value of \fILEN\fR is 65536.
+.TP
\fB\-q\fR, \fB\-\-quiet\fR
output ASCII hex rendering of each report lun, one per line.
.TP
@@ -64,7 +69,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\-2008 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.