On Friday September 12 2003 04:47 pm, James Sparenberg wrote:
> A second way to check a disk. (I use and trust this a bit more
> than just md5sum)
>
> cd to the rpms directory on the disk.
>
> # rpm -K --nogpg *.rpm | grep NOT
>
> What this does is run and check the md5 sum of each individual
> rpm in the directory.  Ignore checking gpg signature, and only
> return the results if there is a problem.  Other nice thing that
> is a side fallout is that since the rpms make up the vast
> majority of the CD you'll also get some idea of readability as
> well.
>
> James

    Thanks. You're point about the overall readability is well taken 
James.  OTOH (runnin current cooker, rpm-4.2-18mdk), 

 RPMS # rpm -K --nogpg *.rpm | grep NOT
--nogpg: unknown option

     So I removed --nogpg an tried again,

 RPMS # rpm -K  *.rpm | grep NOT  (after a minute or so....)
 RPMS #

     I take it that since no result was output, that the CDr is OK?   
'rpm --help' says that -K just checks package signatures, so maybe 
nothin was really done?  If so, I suspect md5sum is a better check. 
It also has to read the whole CD image.  This was on RC2 CD1, 
burned with        cdrecord -v -eject speed=4 dev=0,0,0 -dao

    ...and the md5sum from the iso on HDD before, and CDr after 
burnin checked. For the original poster, back when I ran cooker 
with a dialup and help with ocaissonal cooker CD's from friends, I 
often had trouble reading they're burned CDr's. Specially with a 
CDrom, tho booting from my burner would often work well enough to 
get me thru the install after a few tries.  In any event, I believe 
your system is just havin trouble with the CD's you were sent.
-- 
    Tom Brinkman                  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to