lkml.org 
[lkml]   [2003]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: udev sysfs docs Re: State of devfs in 2.6?
Date
Xavier Bestel <xavier.bestel@free.fr> 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@kth.se

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

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.118 / U:2.012 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site