looking for way to verify whether a CD/DVD was correctly burned
Charles Curley
charlescurley at charlescurley.com
Wed Nov 29 04:41:12 UTC 2006
On Tue, Nov 28, 2006 at 10:35:43PM +0000, Paul Smith wrote:
> On 11/28/06, John Aldrich <john at chattanooga.net> wrote:
> >> > > Is there some way to verify whether a CD/DVD was correctly burned?
> >> >
> >> > In K3b you have the option to verify written data. See
> >> > Project:Burn:Writing:Options:Verify written data.
> >>
> >> Thanks, Zoltan, but I was looking for a command line solution.
> >>
> >Use the MD5sum or SHA1 sum and check it against the CD/DVD.
>
> Could you please give some more details?
There are two things you can do:
1. Compare images.
* Get a file with the md5sum of the image. Verify it against the
image when you download it:
md5sum -c md5sums
* Burn the image. Then compare the image against the burned medium:
diff /dev/hdd image.iso
2. Compare file by file.
* Check the md5sum of the image as above.
* Burn it.
* Mount both, and compare them.
mkdir foo
mount -o loop image.iso foo
mount /dev/hdd /media/cdrecorder
diff -r --brief foo /media/cdrecorder
And umount/eject as appropriate when you are done.
I prefer the file by file comparison because I'm interested in the
files rather than any padding ot other miscellaneous data the burn
software may have sent to the burner.
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061128/8a556bdc/attachment-0001.sig>
More information about the fedora-list
mailing list