On 11/22/20 11:27 PM, Sreyan Chakravarty wrote:
On Mon, Nov 23, 2020 at 9:45 AM Robert Nichols
<rnicholsNOSPAM@xxxxxxxxxxx <mailto:rnicholsNOSPAM@xxxxxxxxxxx>> 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 ?
No. Unless you are trying to recover a failing drive, you would not
want either of those.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx