cpcfs detects the type of the file you are trying to open with the
following guess:
-a:, b:, /dev/fd0, /dev/fd1 : real floppy
-/dev/sdb : raw image/usb floppy
-other name : DSK file.
There are two problems with this approach :
-One could have an usb floppydrive plugged as /dev/sda or /dev/sdc
-It is not possible to open raw dumps of floppies to get files out of them.
Add a proper method for getting the filetype, for example, first try to
open as dsk, then test if it is real floppy, and fallback to raw if no
other method worked.
It would be nice if we avoided reading on real disks as much as possible
however, in order to speed things up a little.
Original issue reported on code.google.com by pulkoma...@gmail.com on 20 Sep 2008 at 7:51
Original issue reported on code.google.com by
pulkoma...@gmail.com
on 20 Sep 2008 at 7:51