aboutsummaryrefslogtreecommitdiff
path: root/doc/sg3_utils.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2021-08-04 15:35:26 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2021-08-04 15:35:26 +0000
commitcbde70fafd0ab9353e79b708621adf73420fdded (patch)
tree907f91f8803a78d13acf373658cc655ce99c1bc6 /doc/sg3_utils.8
parentbfbefdf2d9aa12107d08d796d6fc78862ab85402 (diff)
downloadsg3_utils-cbde70fafd0ab9353e79b708621adf73420fdded.tar.gz
sg_ses: guard against small '--maxlen=' values
In several utilities guard against '--maxlen=' < 4 or < 16 as they seem to serve no useful purpose other than finding awkward corner cases that may trip up these utilities. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@908 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg3_utils.8')
-rw-r--r--doc/sg3_utils.87
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/sg3_utils.8 b/doc/sg3_utils.8
index 3dbda8e7..a8ad41ec 100644
--- a/doc/sg3_utils.8
+++ b/doc/sg3_utils.8
@@ -1,4 +1,4 @@
-.TH SG3_UTILS "8" "May 2021" "sg3_utils\-1.47" SG3_UTILS
+.TH SG3_UTILS "8" "August 2021" "sg3_utils\-1.47" SG3_UTILS
.SH NAME
sg3_utils \- a package of utilities for sending SCSI commands
.SH SYNOPSIS
@@ -618,6 +618,11 @@ techniques are imperfect and in the presence of faulty SCSI targets can
cause problems (e.g. some USB mass storage devices freeze if they receive
an INQUIRY allocation length other than 36). Also use of this option
disables any "double fetch" strategy that may have otherwise been used.
+.br
+To head off a class of degenerate bugs, if \fILEN\fR is less than 16 then
+it is ignored (usually with a warning message) and the default value is
+used instead. Some utilities use 4 (bytes), rather than 16, as the cutoff
+value.
.TP
\fB\-r\fR, \fB\-\-raw\fR
for SCSI commands that yield a non\-trivial response, output that response