Am Dienstag, 3. Juni 2008 schrieb ext Alan McKinnon:
> On Tuesday 03 June 2008, Dirk Heinrichs wrote:
> > > What do I need to do to get usable block access to my floppy from
> > > something in /dev/fd?
> >
> > Nothing. It's IDE Floppy, not Floppy. You should have new hd* entries
> > in /dev for your IDE Floppy device. Read some more lines in your
> > dmesg output.
>
> Is this another change introduced by libata?

No. IDE floppies are a different kind of device, IOmega Zip is one example. 
They are attached to an IDE controller, just like a hard disk or CDRom 
drive.

> RHEL still uses /dev/fd{0,1} so I imagine this is a back-port they have
> done?

Dunno. The kernel driver still uses fd internally. However, here's the 
relevant udev rules from Gentoo:

% grep -r floppy /etc/udev/rules.d
/etc/udev/rules.d/50-udev.rules:# floppy devices
/etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*",     NAME="floppy/%k", 
SYMLINK+="%k", GROUP="floppy"
/etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*", ACTION=="add", 
ATTRS{cmos}=="*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 
0660 -G floppy $root/floppy/%k"
/etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*", ACTION=="remove", 
RUN+="/bin/sh -c 'rm -f $root/floppy/%k?*'"
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="hd*", SUBSYSTEMS=="ide", 
ATTRS{media}=="floppy", OPTIONS+="all_partitions"
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="fd[0-9]",              
GROUP="floppy"
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="fd[0-9]", ACTION=="add", 
ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 
0640 -G floppy $root/%k"

But the rule for IDE floppy looks like this:

% grep -r ide-floppy /etc/udev/rules.d
/etc/udev/rules.d/60-persistent-storage.rules:KERNEL=="hd*[!0-9]", 
ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", 
GOTO="persistent_storage_end"

Bye...

        Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68      | Web:  http://www.capgemini.com
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to