diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2014-06-06 16:55:26 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2014-06-06 16:55:26 +0000 |
commit | 737cdcd23f0a13963f97840cd0acd4672e9eb3ee (patch) | |
tree | 17269cb10efa49d496744420fcb9be019220f0ad /doc/sg_luns.8 | |
parent | 240dd15692debe127e57ff0fb4bc320f70614d5f (diff) | |
download | sg3_utils-737cdcd23f0a13963f97840cd0acd4672e9eb3ee.tar.gz |
sg_luns: add decoding for conglomerate LUNS; change struct sg_simple_inquiry_resp::rmb to byte_1
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@586 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_luns.8')
-rw-r--r-- | doc/sg_luns.8 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/sg_luns.8 b/doc/sg_luns.8 index 45f0befe..0ab74642 100644 --- a/doc/sg_luns.8 +++ b/doc/sg_luns.8 @@ -1,11 +1,12 @@ -.TH SG_LUNS "8" "May" "sg3_utils\-1.39" SG3_UTILS +.TH SG_LUNS "8" "June" "sg3_utils\-1.39" SG3_UTILS .SH NAME sg_luns \- send SCSI REPORT LUNS command or decode given LUN .SH SYNOPSIS .B sg_luns [\fI\-\-decode\fR] [\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-linux\fR] -[\fI\-\-maxlen=LEN\fR] [\fI\-\-quiet\fR] [\fI\-\-raw\fR] [\fI\-\-readonly\fR] -[\fI\-\-select=SR\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] \fIDEVICE\fR +[\fI\-\-lu_cong\fR] [\fI\-\-maxlen=LEN\fR] [\fI\-\-quiet\fR] [\fI\-\-raw\fR] +[\fI\-\-readonly\fR] [\fI\-\-select=SR\fR] [\fI\-\-verbose\fR] +[\fI\-\-version\fR] \fIDEVICE\fR .PP .B sg_luns \fI\-\-test=ALUN\fR [\fI\-\-hex\fR] [\fI\-\-verbose\fR] @@ -52,6 +53,11 @@ to the right, in square brackets, is the Linux LUN integer in decimal. If the \fI\-\-hex\fR option is given twice (e.g. \-HH) as well then the Linux LUN integer is output in hexadecimal. .TP +\fB\-L\fR, \fB\-\-lu_cong\fR +[test mode] decode \fIALUN\fR as if the LU_CONG bit is set in its +corresponding standard INQUIRY response. In other words treat \fIALUN\fR +as if it is a conglomerate LUN. +.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) |