Newsgroups: comp.publish.cdrom.software,comp.os.linux.misc Date: Fri, 24 Oct 2003 09:46:04 +0200
> Any software to pull an .iso from a freshly burned cdr? Just thought I > could pull the .iso and do an MD5 sum on both the pre burn and post burn > to see if the burn was correct.
readcd
(if it fails, I doubt the burn was a proper one)
or just use diff :-)
Eric Moors
> > Any software to pull an .iso from a freshly burned cdr?
I use 'dd if=/dev/cdrom of=outputfile bs=8k'. I find that the default block size for dd is rather slow.
> or just use diff :-)
diff is awful on very large files. And if you just want to know if there is a difference, 'cmp' is faster. It will stop when it finds the first difference and tell you how far into the file it is, but won't print the difference, good for binary files.
Elijah
> Any software to pull an .iso from a freshly burned cdr?
Without it being mounted in Linux you can do it with "dd".
dd if=/dev/cdrom of=slackware.iso
You can name it what ever you want since it gets the md5sum from the image.
David
> You can name it what ever you want since it gets the md5sum from > the image.
If you're just going to sum the image, why bother writing it to a file at all?
dd if=/dev/dvd | md5sum
I tried "md5sum < /dev/dvd", but apparently md5sum barfs on I/O errors, and dd doesn't (just complains).
On a related note, the files produced by "cat /dev/dvd > file1.iso" and "dd if=/dev/dvd of=file2" are 4096 bytes different in size (dd produced a larger file). Isn't the blocksize on a CD usually 2k? Why is there this difference?
Hactar