On Fri, 2006-01-27 at 14:40 -0500, Thomas Taylor wrote:
On Friday 27 January 2006 12:23, John Reiser wrote:
Instead of using sha1sum to verify, use dd if=/dev/cdrom bs=2k | cmp - FC5-test1-i386-discN.iso and check the return code from cmp only, ignoring any complaints from dd.
Indeed a better way to compare the iso image to a burned CD.
So I try this with an ISO burned through the GNOME interface and get:
dd: reading `/dev/cdrom': Input/output error 141148+0 records in 141148+0 records out 289071104 bytes (289 MB) copied, 138.624 seconds, 2.1 MB/s cmp: EOF on -
And I try this with an ISO burned with cdrecord and get:
dd: reading `/dev/cdrom': Input/output error 228592+0 records in 228592+0 records out 468156416 bytes (468 MB) copied, 149.532 seconds, 3.1 MB/s cmp: EOF on -
The results are very different. How do I tell it's OK?