actually, no need to use md5 this would likely be much faster:
$ dd < /dev/acd0 bs=2k | cmp - image.iso && echo Ok
btw, calculating the checksum of all the files being burned (similiar to what carpetsmoker suggested) and storing it in a file on the cd (say file.md5) is IMO a good idea. so that if the cd develops problems in the future you can easily tell which files are ok by comparing the files on the cd with their md5sums in file.md5.
|