diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-09-11 23:13:21 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-09-11 23:13:21 +0000 |
commit | 23b8f9c3a44e6be249911b97c4cf02da601be519 (patch) | |
tree | d475856169c8a08001e1f8813408ed71bdc14197 /doc/sg_modes.8 | |
parent | 38a3773e8ef84bd18fcf266df4e697e431c73882 (diff) | |
download | sg3_utils-23b8f9c3a44e6be249911b97c4cf02da601be519.tar.gz |
sg_vpd: decode some WDC/Hitachi vendor VPD pages; sg_modes: accept acronym for page/subpage codes; attempted 1.43 release
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@789 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_modes.8')
-rw-r--r-- | doc/sg_modes.8 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/sg_modes.8 b/doc/sg_modes.8 index ce970e96..ed2d2e33 100644 --- a/doc/sg_modes.8 +++ b/doc/sg_modes.8 @@ -1,4 +1,4 @@ -.TH SG_MODES "8" "November 2017" "sg3_utils\-1.43" SG3_UTILS +.TH SG_MODES "8" "September 2018" "sg3_utils\-1.43" SG3_UTILS .SH NAME sg_modes \- reads mode pages with SCSI MODE SENSE command .SH SYNOPSIS @@ -143,6 +143,10 @@ page code to fetch. The \fIPG\fR is assumed to be a decimal value unless prefixed by '0x' or has a trailing 'h'. It should be a value between 0 and 63 (inclusive). When not given and a default is required then a value of 63 (0x3f), which fetches all mode pages, is used. +.br +Alternatively an acronym for the mode page can be given. The available +acronyms can be listed out with the \fI\-\-page=xxx\fR option. They are +almost the same as the acronyms used for mode pages in the sdparm utility. .TP \fB\-p\fR, \fB\-\-page\fR=\fIPG,SPG\fR page code and subpage code values to fetch. Both arguments are assumed @@ -253,7 +257,10 @@ see \fB\-\-maxlen\fR=\fILEN\fR in the main description. \fB\-p\fR=\fIPG\fR \fIPG\fR is page code to fetch. Should be a hexadecimal number between 0 and 3f inclusive (0 to 63 decimal). The default value when required is -3f (fetch all mode pages). +3f (fetch all mode pages). Note that an acronym for the page and/or +subpage values is not accepted in this older format (because any acronym +starting with the letters 'a' to 'f' is ambiguous; it could either be a hex +number or an acronym). .TP \fB\-p\fR=\fIPG,SPG\fR page code and subpage code values to fetch. The page code should be a @@ -291,7 +298,7 @@ Written by Douglas Gilbert .SH "REPORTING BUGS" Report bugs to <dgilbert at interlog dot com>. .SH COPYRIGHT -Copyright \(co 2000\-2017 Douglas Gilbert +Copyright \(co 2000\-2018 Douglas Gilbert .br This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |