Re: udev sysfs docs Re: State of devfs in 2.6?

From: Måns Rullgård
Date: Tue Dec 09 2003 - 04:28:22 EST


Xavier Bestel <xavier.bestel@xxxxxxx> writes:

>> A: That is correct. If you really require this functionality, then
>> use devfs. There is no way that udev can support this, and it
>> never will.
>
> That's something I don't understand: I thought that with a well
> configured hotplug+udev system, you'll never have to worry about loading
> drivers on device-node open() because all drivers should be auto-loaded
> and all device-nodes should be auto-created.
>
> Am I wrong ?

Let me give an example. Hotplug will automatically load the ALSA
drivers for my sound card, and /dev/snd/* are created (by devfs or
udev, it doesn't matter for now). Suppose that, some time, I run a
program that tries to use OSS for sound. Now, the ALSA OSS emulation
is not loaded by hotplug, and I don't want it to. It's nice to have
snd-pcm-oss automatically loaded when some legacy application tries to
use /dev/dsp.

--
Måns Rullgård
mru@xxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/