Re: State of devfs in 2.6?

Andreas Jellinghaus
2003-12-09T07:01:32Z

On Tue, 2003-12-09 at 00:34, Greg KH wrote:
> You have 15 floppy devices connected to your box? All floppy devices
> should show up in /sys/block.

No, 16 devices are normal, sysfs has only one:
aj@simulacron:~/torrent/j-tv/download$ ls /dev/floppy/
0 0u1120 0u1600 0u1722 0u1760 0u1920 0u720 0u820
0u1040 0u1440 0u1680 0u1743 0u1840 0u360 0u800 0u830
aj@simulacron:~/torrent/j-tv/download$ find /sys/block/fd* -name dev
/sys/block/fd0/dev

Are those floppy devices obsolete? fdformat was the only app to use
them anyway, I guess. (Not that I use my floppy, I simply noticed
the change.)

> > I wouldn't call udev deprecated, unless a newer kernel has the
> > essential devices, too.
>
> You mean s/udev/devfs/ right? :)

oops, sorry.

> > and
> > re-introducing makedev for devices not represented
> > in sysfs doesn't sound very nice either. So 2.8.* might be a nice time
> > frame for dropping devfs, or at least give sysfs and udev a few months
> > to catch up on the issues mentioned.
>
> Regardless of the state of udev, devfs has insolvable problems and you
> should not use it. End of story.

how many bug reports did you see in the last three months of people
having problems with devfs? I don't doubt the problems in theory, but
but I simply haven't seen them happening. Most users seem quite happy.

Andreas