Folks.
I've been doing some CD duplicating recently using dd with a command line
thus
dd if=/dev/hdc of=image.iso bs=8192
which trundles off and reads the CD busily, creates the iso file happily,
but after a while I get an error which _seems_ to indicate that there's an
IO error reading the CD.
Now the images created write to new disks fine, and work perfectly once
written, so there's no error in creating them - all I can think of is that
dd attempts to read beyond the end of the disk {logical, since I didn't
give it an end point} and fails, resulting in the error.
What I want to know is if there is someway of guestimating how many blocks
DD will need to read to get exactly to the end of the source disk without
an error.
I know it's going to be different, given that each disk has a different
amount of data on it - but how do I figure it? or is there a global
"count" variable each CD will have on it regardless of how much data it's
got?
DaZZa
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug