[Bug 539] dd gets stuck on bad sectors
bugzilla at busybox.net
bugzilla at busybox.net
Thu Aug 6 05:51:35 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=539
--- Comment #2 from James Laird <j_laird at bigpond.net.au> 2009-08-06 05:51:35 UTC ---
I disagree.
With noerror:
If you get a short read you should seek to the end of the current block and
then continue. The short-read block is padded with nulls (standard noerror
operation).
Where sync comes in is that blocks for which no data is read at all are
correctly inserted as nul blocks in the output (otherwise you break data
structures).
>From GNU dd - when a partial read occurs, a partial seek is performed:
"advance_input_after_read_error (input_blocksize - partread)"
Your suggestion may advance to a non-block start byte after a partial read.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list