Checking the integrity of a CD/DVD media

Paul Smith phhs80 at gmail.com
Sat Jul 22 13:30:47 UTC 2006


On 7/20/06, Nicolas Mailhot <nicolas.mailhot at laposte.net> wrote:
> > > >> Is there some way of checking the integrity of a CD/DVD media?
> > > >
> > > >1. checksum the files using md5sum/sha1sum
> > > >1b sign the result with gpg
> > > >2. check the burnt files against your checksums
> > >
> > > Thanks, Nicolas, but in case the media is already recorded and without
> > > any access to the original files?
> >
> > Can you run integrity checks on the files? Mount the drive, then
> > something like:
> >
> > rpm /media/dvd/ -iname "*.rpm" -exec rpm -K {} \; | grep NOT
> >
> > or substitute an appropriate test.
>
> rpm -K works because rpm did the checksumming at package creation
> time :)

Thanks to all for all suggestions.

Paul




More information about the fedora-list mailing list