Hi.

On Sun, 23 Feb 2014 11:45:26 +1100
David <bouncingc...@gmail.com> 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 debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20140223140004.92a3cb4691f6f1967e269...@gmail.com

Reply via email to