diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-06-03 23:59:56 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-06-03 23:59:56 +0000 |
commit | e05f7acda57fbbbad555df38fef89aa70447b590 (patch) | |
tree | eeb77582446b28c0b89f2415f8a0a34eef3e1fc4 /doc/sg_dd.8 | |
parent | 14a6fbe3500a5ead474126ded5e0f1df8dd88ade (diff) | |
download | sg3_utils-e05f7acda57fbbbad555df38fef89aa70447b590.tar.gz |
sg_decode sense: add --err=ES; sg_dd, sgp_dd, sgm_dd: add --dry-run and --verbose options; introduce SG3_UTILS_DSENSE environment variable; sg_lib: add sg_nvme_desc2sense(), sg_build_sense_buffer(), and pr2ws()
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@777 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_dd.8')
-rw-r--r-- | doc/sg_dd.8 | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/doc/sg_dd.8 b/doc/sg_dd.8 index 0aa7a386..2773ee67 100644 --- a/doc/sg_dd.8 +++ b/doc/sg_dd.8 @@ -1,4 +1,4 @@ -.TH SG_DD "8" "November 2017" "sg3_utils\-1.43" SG3_UTILS +.TH SG_DD "8" "June 2018" "sg3_utils\-1.43" SG3_UTILS .SH NAME sg_dd \- copy data to and from files and devices, especially SCSI devices @@ -6,8 +6,8 @@ devices .B sg_dd [\fIbs=BS\fR] [\fIconv=CONV\fR] [\fIcount=COUNT\fR] [\fIibs=BS\fR] [\fIif=IFILE\fR] [\fIiflag=FLAGS\fR] [\fIobs=BS\fR] [\fIof=OFILE\fR] -[\fIoflag=FLAGS\fR] [\fIseek=SEEK\fR] [\fIskip=SKIP\fR] [\fI\-\-help\fR] -[\fI\-\-version\fR] +[\fIoflag=FLAGS\fR] [\fIseek=SEEK\fR] [\fIskip=SKIP\fR] [\fI\-\-dry\-run\fR] +[\fI\-\-help\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] .PP [\fIblk_sgio=\fR{0|1}] [\fIbpt=BPT\fR] [\fIcdbsz=\fR{6|10|12|16}] [\fIcoe=\fR{0|1|2|3}] [\fIcoe_limit=CL\fR] [\fIdio=\fR{0|1}] @@ -194,13 +194,21 @@ Unix read() and write() calls) so there can be a lot of output. This only occurs for scsi generic (sg) devices and block devices when the 'blk_sgio=1' option is set. .TP -\fB\-\-help\fR +\fB\-d\fR, \fB\-\-dry\-run\fR +does all the command line parsing and preparation but bypasses the actual +copy or read. That preparation may include opening \fIIFILE\fR or +\fIOFILE\fR to determine their lengths. This option may be useful for +testing the syntax of complex command line invocations in advance of +executing them. +.TP +\fB\-h\fR, \fB\-\-help\fR outputs usage message and exits. .TP -\fB\-\-version\fR -outputs version number information and exits. +\fB\-v\fR, \fB\-\-verbose\fR +when used once, this is equivalent to \fIverbose=1\fR. When used +twice (e.g. "\-vv") this is equivalent to \fIverbose=2\fR, etc. .TP -\fB\-V\fR +\fB\-V\fR, \fB\-\-version\fR outputs version number information and exits. .SH CONVERSIONS One or more conversions can be given to the "conv=" option. If more than @@ -483,7 +491,7 @@ Written by Douglas Gilbert and Peter Allworth. .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. |