Re: linux kernel error reading end of cd/dvd
>From: Andy Polyakov <firstname.lastname@example.org>
>> > 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.
Not if this is e.g. a Solaris boot CD.....
EMail:email@example.com (home) Jörg Schilling D-13353 Berlin
firstname.lastname@example.org (uni) If you don't have iso-8859-1
email@example.com (work) chars I am J"org Schilling
URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily