From 737cdcd23f0a13963f97840cd0acd4672e9eb3ee Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Fri, 6 Jun 2014 16:55:26 +0000 Subject: 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 --- doc/sg_luns.8 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'doc/sg_luns.8') 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) -- cgit v1.2.3