Sunday, April 29, 2018

Re: Does dd have error checking and correction?

On 2018-04-29, Z Ero <zerotetration@gmail.com> wrote:
> Forgive me if the is a naive question. Does the dd utility use
> something like a CRC to verify data integrity or is this managed at a
> lower level (eg. by the kernel services that dd uses to transfer
> data)?

Neither. Either read back and calculate a hash yourself (when reading
back you'll need to be careful about choosing a block size that fits a
whole number of times into the original) or some of the alternatives
to dd have built-in verification modes (e.g. dcfldd with
vf/verifylog/etc).

No comments:

Post a Comment