Checking the integrity of a CD/DVD media

Nicolas Mailhot nicolas.mailhot at laposte.net
Thu Jul 20 20:53:56 UTC 2006


Le jeudi 20 juillet 2006 à 14:23 -0600, Charles Curley a écrit :
> On Thu, Jul 20, 2006 at 04:16:23PM +0100, Paul Smith wrote:
> > 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 :)

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060720/f3492f83/attachment-0001.sig>


More information about the fedora-list mailing list