On Mon, Nov 23, 2020 at 9:45 AM Robert Nichols <rnicholsNOSPAM(a)comcast.net>
wrote:
Unless "conv=sync" is used, it does not. Without
"conv=sync", when the
input
reaches EOF, dd will write whatever partial block has been read. If you
_do_
use "conv=sync", then that output block will be zero-padded to the obs
size.
If the output is to a device and not a file, that might cause a superfluous
"out of space" message and a failure exit code. If output is to a file,
then
the resulting file could be larger than the source.
The status message from dd indicates the number of complete+partial blocks
read and written, e.g.:
1201+1 records in
1202+0 records out
showing an output block that was padded to the full block size.
So it's better to use "sync" and not "noerror", right ?
--
Regards,
Sreyan Chakravarty