> Il problema c'� anche sull'altra woody di casa, con tutti i lettori
> cd. Sono sicuro che ci sar� un modo. Come si verificano le immagini da
> linux? C'� qualcuno che lo fa e come? Potrebbe dipendere dalla
> dimensione del blocco? Come faccio a sapere la dimensione corretta del
> blocco?

ho trovato anche questo:

md5sum myiso.iso
rawread /dev/cdrom | md5sum

da qui:
http://www.troubleshooters.com/linux/coasterless.htm#_TestingCD

e questo e' lo script *rawread*:

<INIZIO>

#!/bin/sh
device=$1

blocksize=`isoinfo -d -i $device | grep "^Logical block size is:" | cut -d " " 
-f 5`
if test "$blocksize" = ""; then
        echo catdevice FATAL ERROR: Blank blocksize >&2
        exit
fi

blockcount=`isoinfo -d -i $device | grep "^Volume size is:" | cut -d " " -f 4`
if test "$blockcount" = ""; then
        echo catdevice FATAL ERROR: Blank blockcount >&2
        exit
fi

command="dd if=$device bs=$blocksize count=$blockcount conv=notrunc,noerror"
echo "$command" >&2
$command

<FINE>

che ti da una buona idea di come leggere il CD a blocchi

a questo punto dovresti essere a posto :)

-- 
mattia


Rispondere a