[KLUG Members] Re: sysfs, udev, hotplug

Peter Buxton members@kalamazoolinux.org
Tue, 28 Oct 2003 02:42:08 -0500


On Mon, Oct 27, 2003 at 11:07:43PM -0500, Peter Buxton was only escaped
   alone to tell thee:

> Is anyone familiar with hotplug daemon scripts, the udev fs
> (replacement for devfs), and how they work together? I have sysfs
> running (Linux 2.6.0-test9) and am trying to get udev to create a
> real-time /dev directory without much success.

Whoops. Never mind. It is working. I just need to work on some other
stuff to make it do what I want: chiefly, I have to get it running under
an initrd so it creates all the /dev nodes for the HDs, mouse, &c.

It's interesting, though I must wonder how far it will penetrate Linux
installations if it is so limited without an initrd-based userspace
daemon. devfs didn't have that limitation, but Richard Gooch resisted
many devfs suggestions from other kernel developers so devfs has been
marked obsolete. Pity.

On the other hand, udev does nicely with plug-in devices. It can take a
USB Mass Storage camera and create the same device node / permissions /
name everytime, regardless of the SCSI number.

-- 
ed(1) - The standard Unix text editor.