>From: Andy Polyakov <[EMAIL PROTECTED]>

>> > If you really have to
>> > checksum the whole image, then make sure to bypass the block buffer
>> > *and* provide sane block count value. A.
>> 
>> Obvious question ;): is there an easy way to bypass the block buffer?

>Well, already mentioned readcd effectively bypasses the block buffer,
>but you can trick Linux kernel to bypass it by binding the device to
>/dev/raw/rawN and referring to the latter instead of real device
>(there're limitations though, consult the manual page).

>> What value do you call "sane" - count=N with N <= isoinfo -d?

>"Sane block count" is obviously the number of last *significant* block.
>Yes, for mkisofs mastered images the value returned by isoinfo suffices.
>A.

Not if this is e.g. a Solaris boot CD.....

J�rg

-- 
 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]        (work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling 
ftp://ftp.berlios.de/pub/schily

Reply via email to