diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2021-10-28 23:35:11 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2021-10-28 23:35:11 +0000 |
commit | f0195003bb0c66ba55084b2f7e0fe982f08c5675 (patch) | |
tree | ac27a2f679ce91e865fa0a578c9cfa2d97110b07 /doc/sg_dd.8 | |
parent | c1ce6d6c5f3f64038e17dfd65380aa728c5d994d (diff) | |
download | sg3_utils-f0195003bb0c66ba55084b2f7e0fe982f08c5675.tar.gz |
sg_dd: 'iflag=00,ff' places the 32 bit block address (big endian) into each block; sgp_dd: major rework, new: --chkaddr which checks for block address in each block
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@916 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_dd.8')
-rw-r--r-- | doc/sg_dd.8 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/sg_dd.8 b/doc/sg_dd.8 index 23b40b07..14290e07 100644 --- a/doc/sg_dd.8 +++ b/doc/sg_dd.8 @@ -293,7 +293,13 @@ Here is a list of flags and their meanings: this flag is only active with \fIiflag=\fR and when given replaces \fIif=IFILE\fR. If both are given an error is generated. The input will be a stream of zeros, similar to using "if=/dev/zero" alone (but a little -quicker). +quicker), apart from the following case. +.br +If 'iflag=00,ff' is given then the block address (lower 32 bits, in 4 +bytes, big endian) is placed, multiple times, in each block. The block +address takes into account the \fIskip=SKIP\fR setting. The +.B sgp_dd +utility has a \fI\-\-chkaddr\fR option that complements this option. .TP append causes the O_APPEND flag to be added to the open of \fIOFILE\fR. For regular @@ -356,8 +362,12 @@ causes the O_EXCL flag to be added to the open of \fIIFILE\fR and/or .TP ff this flag is only active with \fIiflag=\fR and when given replaces -\fIif=IFILE\fR. If both are given an error is generated. The input will -be a stream of 0xff bytes (or all bits set). +\fIif=IFILE\fR. If both are given an error is generated. The input will be +a stream of 0xff bytes (or all bits set), apart from the following case. +.br +If 'iflag=00,ff' is given then the block address (lower 32 bits, in 4 +bytes, big endian) is placed, multiple times, in each block. The block +address takes into account the \fIskip=SKIP\fR setting. .TP flock after opening the associated file (i.e. \fIIFILE\fR and/or \fIOFILE\fR) |