Re: looking for way to verify whether a CD/DVD was correctly burned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 28, 2006 at 10:35:43PM +0000, Paul Smith wrote:
> On 11/28/06, John Aldrich <john@xxxxxxxxxxxxxxx> 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

Attachment: pgpZDwqw7j1LB.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux