On Wed, 21 May 2008, Carlos E. R. wrote:-
bs=1024k count=4489 ?
For a DVD-R the size is 2,298,496 sectors, or 4,707,319,808 bytes, which you can get from using: bs=256k count=17957 A DVD+R is slightly smaller at 2,295,104 sectors, or 4,700,372,992 bytes, and you can get that from using: bs=128k count=35861 <snip>
time nice cmp --bytes=4700000000 /dev/hdc $1
You do know this will miss any errors that may occur in the last 365KiB to 7MiB, don't you? If you use: time nice cmp --bytes=$(wc -c <$1) /dev/hdc $1 it'll compare the exact size and show up any errors that the script might miss at present. Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0b3 SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org