Re: [ANNOUNCE] udev 021 release

From: Ed Tomlinson
Date: Wed Mar 03 2004 - 07:24:07 EST


On March 03, 2004 04:56 am, Michael Weiser wrote:
> Normally with static /dev one has a /dev/dsp device for example. As soon
> as an application tries to open it the kernel would try to load a module
> "sound" or "char-major-something" if sound support isn't compiled into
> it. Now with udev I'll never get /dev/dsp in the first place and there's
> no mechanism like devfs's file open monitoring and subsequent device
> file creation. So my idea is to initialise /dev with some static files,
> for hardware I know is there but hasn't had a driver loaded yet. My
> question is: Is there a nicer and more elegant way than just unpacking a
> tarball into /dev before starting udevd? A tarball would also break a
> (theoretical) use of dynamic major/minor numbers by the kernel.

Would it be possible to have something in the module itself? i.e. We create
a new macro to add info that a script can use. This info could live in a new file
in lib/modules or in the actual module. This could be used to create the static
setup dynamicly.

This item keeps coming up as the one feature that devfs has and udev
does not. It keeps getting dismissed. Users seem to actually want it...

Ed Tomlinson

-
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/