"Lee Grey" <[EMAIL PROTECTED]> writes:

> And md5sum takes a file as input, so I can't do that to the entire CD.  I
> got the checksums from RH's FTP server, but I don't know what to compare
> them to determine authenticity of the CDs.  Unfortunately, I'm not that
> proficient at this stuff to know what to do next, so any ideas (or complete
> solutions ;) would be very much appreciated.

But you can... in Unix-like environments everything is a file!

md5sum /dev/cdrom

should get you there. You might need another device than /dev/cdrom
depending on your setup, 'cat /etc/fstab' should show you which device
is used for /mnt/cdrom (among all others).

Common CDROM devices are:
/dev/hdb - CDROM is slave on first IDE channel
/dev/hdc - CDROM is master on second IDE channel
/dev/hdd - CDROM is slave on second IDE channel
/dev/scd0 - CDROM is first SCSI CDROM
/dev/scd1 - CDROM is first SCSI CDROM
(/dev/cdrom is set up to point to the first 'real' CDROM device found
by the installer)

This might be enough to give a 'feel' for the pattern.

BTW I can think of a few "legitimate" ways to write perfectly fine CDs
which would not give the same md5sum of their images... OTOH if the
sums match you can be very sure that the contents are OK.


So long,
   Joe

-- 
"I use emacs, which might be thought of as a thermonuclear
 word processor."
-- Neal Stephenson, "In the beginning... was the command line"



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to