aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_logs.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/sg_logs.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/sg_logs.8')
-rw-r--r--doc/sg_logs.85
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/sg_logs.8 b/doc/sg_logs.8
index 014c8525..43fd1901 100644
--- a/doc/sg_logs.8
+++ b/doc/sg_logs.8
@@ -1,4 +1,4 @@
-.TH SG_LOGS "8" "January 2020" "sg3_utils\-1.45" SG3_UTILS
+.TH SG_LOGS "8" "August 2021" "sg3_utils\-1.47" SG3_UTILS
.SH NAME
sg_logs \- access log pages with SCSI LOG SENSE command
.SH SYNOPSIS
@@ -177,6 +177,9 @@ values and 1 for \fILEN\fR are not accepted. \fILEN\fR cannot exceed
65535 (0xffff). Responses can be quite large (e.g. the background scan
results log page) and this option can be used to limit the amount of
information returned.
+.br
+If \fILEN\fR is less than 2 of greater than 65,535 an error is generated.
+Otherwise if \fILEN\fR is less than 4 then 4 is used instead.
.TP
\fB\-n\fR, \fB\-\-name\fR
decode some log pages into 'name=value' entries, one per line. The name