aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-11-01 23:46:24 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-11-01 23:46:24 +0000
commit6d3bd268768b83b2749c560517c18b88f222df63 (patch)
tree5a29f79f49c19788ec25b5d2ec7074d7f09e2b4f /doc
parent7b73fc26be3892abf1e91243cd107ff5bcef4a0b (diff)
downloadsg3_utils-6d3bd268768b83b2749c560517c18b88f222df63.tar.gz
sg_read_block_limits: fix granularity value, add --mloi option; sg_lib: add sg_ll_read_block_limits_v2(); sg_logs: json work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@978 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc')
-rw-r--r--doc/sg3_utils.82
-rw-r--r--doc/sg3_utils_json.82
-rw-r--r--doc/sg_get_elem_status.84
-rw-r--r--doc/sg_read_block_limits.820
4 files changed, 18 insertions, 10 deletions
diff --git a/doc/sg3_utils.8 b/doc/sg3_utils.8
index ca79b934..c65af9aa 100644
--- a/doc/sg3_utils.8
+++ b/doc/sg3_utils.8
@@ -1,4 +1,4 @@
-.TH SG3_UTILS "8" "October 2022" "sg3_utils\-1.48" SG3_UTILS
+.TH SG3_UTILS "8" "November 2022" "sg3_utils\-1.48" SG3_UTILS
.SH NAME
sg3_utils \- a package of utilities for sending SCSI commands
.SH SYNOPSIS
diff --git a/doc/sg3_utils_json.8 b/doc/sg3_utils_json.8
index 690d37eb..e734b4a1 100644
--- a/doc/sg3_utils_json.8
+++ b/doc/sg3_utils_json.8
@@ -1,4 +1,4 @@
-.TH SG3_UTILS_JSON "8" "October 2022" "sg3_utils\-1.48" SG3_UTILS
+.TH SG3_UTILS_JSON "8" "November 2022" "sg3_utils\-1.48" SG3_UTILS
.SH NAME
sg3_utils_json \- JSON output for some sg3_utils utilities
.SH SYNOPSIS
diff --git a/doc/sg_get_elem_status.8 b/doc/sg_get_elem_status.8
index e6ec8448..b45ae131 100644
--- a/doc/sg_get_elem_status.8
+++ b/doc/sg_get_elem_status.8
@@ -1,4 +1,4 @@
-.TH SG_GET_ELEM_STATUS "8" "August 2022" "sg3_utils\-1.48" SG3_UTILS
+.TH SG_GET_ELEM_STATUS "8" "November 2022" "sg3_utils\-1.48" SG3_UTILS
.SH NAME
sg_get_elem_status \- send SCSI GET PHYSICAL ELEMENT STATUS command
.SH SYNOPSIS
@@ -120,7 +120,7 @@ the settings in the Informational Exceptions Control mode page [0xc, 0x0].
After detecting one or more out\-of\-spec storage elements the disk in
question should either be decommissioned or have the REMOVE ELEMENT AND
TRUNCATE (or ... AND MODIFY ZONES) command invoked to repair (and reduce
-the storge capacity) of the disk.
+the storage capacity) of the disk.
.SH EXIT STATUS
The exit status of sg_get_elem_status is 0 when it is successful. Otherwise
see the sg3_utils(8) man page.
diff --git a/doc/sg_read_block_limits.8 b/doc/sg_read_block_limits.8
index 5bdeb03a..75bbd8e3 100644
--- a/doc/sg_read_block_limits.8
+++ b/doc/sg_read_block_limits.8
@@ -1,10 +1,11 @@
-.TH SG_READ_BLOCK_LIMITS "8" "October 2017" "sg3_utils\-1.43" SG3_UTILS
+.TH SG_READ_BLOCK_LIMITS "8" "November 2022" "sg3_utils\-1.48" SG3_UTILS
.SH NAME
sg_read_block_limits \- send SCSI READ BLOCK LIMITS command
.SH SYNOPSIS
.B sg_read_block_limits
-[\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-raw\fR] [\fI\-\-readonly\fR]
-[\fI\-\-verbose\fR] [\fI\-\-version\fR] \fIDEVICE\fR
+[\fI\-\-help\fR] [\fI\-\-hex\fR] [--mloi] [\fI\-\-raw\fR]
+[\fI\-\-readonly\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR]
+\fIDEVICE\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
@@ -20,6 +21,11 @@ output the usage message then exit.
\fB\-H\fR, \fB\-\-hex\fR
output response in hex (rather than decode it).
.TP
+\fB\-m\fR, \fB\-\-mloi\fR
+sets the MLOI bit in the READ BLOCK LIMITS command and if that
+succeeds, prints out the Maximum Logical Object Identifier (MLOI)
+value. The MLOI bit was introduced in the ssc4r02.pdf draft.
+.TP
\fB\-r\fR, \fB\-\-raw\fR
output response in binary to stdout.
.TP
@@ -43,16 +49,18 @@ line following the "#" command prompt) followed by some typical output:
.br
Read Block Limits results:
.br
- Minimum block size: 1 byte(s)
+ Minimum block size: 1 byte(s)
+.br
+ Maximum block size: 16777215 byte(s), 16383 KB, 15 MB
.br
- Maximum block size: 16777215 byte(s), 16383 KB, 15 MB
+ Granularity: 0
.br
.SH AUTHORS
Written by Douglas Gilbert.
.SH "REPORTING BUGS"
Report bugs to <dgilbert at interlog dot com>.
.SH COPYRIGHT
-Copyright \(co 2009\-2017 Douglas Gilbert
+Copyright \(co 2009\-2022 Douglas Gilbert
.br
This software is distributed under a BSD\-2\-Clause license. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.