lkml.org 
[lkml]   [2003]   [Dec]   [9]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
From(Måns_Rullgård)
SubjectRe: udev sysfs docs Re: State of devfs in 2.6?
DateTue, 09 Dec 2003 10:26:03 +0100
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 12:59    [from the cache]
©2003-2008