Just occurred to me I should share this snippet, below, too.
(It was in response to my report of a scsi error when reading a CD
that had a failure while being written.)

luke

On 19 Jan, Douglas Gilbert wrote:
>  I've seen that error before and it usually indicates 
>  trying to read sectors that haven't be written. 
>  For example it is unsafe to do this: 
>     $ dd if=/dev/scd0 of=iso.img bs=2048 
>  because there are allowed to be unwritten sectors at 
>  the end of an iso9660 image. Recent versions of util-linux 
>  (from 2.10s onwards) contain "isosize". 
>     $ isosize -d 2048 /dev/scd0 
>  will yield the actual number of sectors in an iso9660 image 
>  on /dev/scd0. That number should be used as the "count" 
>  argument to the above dd command. 

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to