Jules Richardson wrote:
(Note that this question is only relevant for well designed clones of the NEC and Intel chips - lots of broken clones don't support FM mode at all...)
Is it possible from user-space to either:
a) put the linux floppy driver permanently into FM recording mode for all subsequent requests, or
Using setfdprm, you can add the "fm" options to instruct the driver that the current disk should be accessed in FM mode.
Example
setfdprm /dev/fd0 sect=9 fm=1
==> specifies a nine sector fm format
It's not real permanent, but lasts until the next disk change.
b) do this temporarily for a per-command basis?
I suspect that b) *might* be possible via a raw command, but the man page for fdrawcmd doesn't seem to mention being able to change the density bit (bit 6 of the first byte in the command).
You can also add the fm parameter to fdrawcmd:
fdrawcmd readid 0 fm
This issues the readid command in fm mode.
Regards,
Alain _______________________________________________ fdutils mailing list fdutils@tux.org http://www.tux.org/mailman/listinfo/fdutils