Hi.

On Sun, 23 Feb 2014 11:45:26 +1100
David <[email protected]> wrote:

> whereas if you know that you do actually want the output file, it will
> be quicker to
> read it once and then checksum the file like this:
>   # dd if=/dev/cdrom bs=2048 count=23150592 conv=notrunc,noerror > cd.iso
>   # md5sum cd.iso

You can read the device once, write the result to the file AND calculate the
checksum at the same time:

dd if=/dev/cdrom bs=2048 count=23150592 conv=notrunc,noerror | tee cd.iso | 
md5sum

Reco


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to