john bray a écrit : > On Wed, 2006-09-13 at 16:47 +0100, Jonathan Allen wrote: > >>Hi All, >> >>I'm looking to write CDs and DVDs with (relatively) important data on them. >>I'm building a filetree, using 'mkisofs' to turn that into an ISO image and >>then using cdrecord to burn it onto the appropriate media. >> >>So far, so good. How can I verify that the media has recorded correctly ? >>Do I have to mount the media and check each file, or is there some way to >>verify the media itself against the ISO image file ? I looked at 'readcd' >>but it doesn't appear to do what I want - it actually seems to have some >>difficulty reading the CD. Any ideas ? > Another idea (I use it to check the install disk of Fedora when the check media utility fails): mount your original image iso: mount -o loop data.img /mnt insert the CD/DVD you've burnt from it Then: diff /mnt /media/dvd (whatever the name of your drive) -- François Patte UFR de mathématiques et informatique Université Paris 5 - Paris http://www.math-info.univ-paris5.fr/~patte