On Sat, Jul 16, 2005 at 12:57:54AM +1000, Takis Diakoumis wrote:
> i then unmounted the floppy on the desktop pc, removed it,
> reinserted it into the desktop pc and mounted it again just to make
> sure the disk was ok and file was still there. it was and all good
> at this point.
Make sure you check that the data in the file is okay by comparing it
against the original. It might be that the mount sometimes works even
when the data blocks are corrupt.
A better device test would probably be something like this:
create random floppy image
dd if=/dev/urandom of=junk bs=512 count=2880
put floppy into drive
write image
dd if=junk of=/dev/fd0 bs=512
sync
remove floppy
re-insert floppy
read back and check image
dd if=/dev/fd0 bs=512 count=2880 | cmp - junk
If this succeeds then you at least know that all of the data is actually
on the disk. Then you can try the same read-back using the USB floppy
drive instead, and/or try writing the image on the USB floppy.
-Dave Dodge
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users