Date : Tue, 14 Apr 2009 09:05:22 -0500
From : jules.richardson99@... (Jules Richardson)
Subject: Writing BBC Disc Images on Linux
Andrew Benham wrote:
> I was going to reply to the previous message saying that I hadn't seen
> the /dev/fd0* device files for years, but then I looked on the CentOS 5.3
> box I'm using at work and:
Aha!
OK, so e.g.:
mknod -m 0660 /dev/fd0u720 b 2 16
... will create a 720k device file*, probably needing a chown/chgrp after to
set up the ownership. I can't quite recall how the device mapping goes, now -
I think the one with device minor of 24 is probably "DD disk in a HD drive"
(i.e. 720KB in PC terms), whilst device minor 16 as above is "DD disk in a DD
drive".
* I have no idea if the logic to support all this is still in the kernel,
though - although chances are good that it is, and they just dropped automatic
creation of the less-common floppy device files in the common Linux distros as
the number of files in /dev was getting pretty huge.
cheers
Jules