Re: devfs - why not ?

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Apr 13 2000 - 08:08:05 EST


On 13 Apr 2000, Peter Samuelson wrote:

>
> [Horst von Brand <vonbrand@sleipnir.valparaiso.cl>]
> > No. How do you load a module for /dev/foo117, when /dev/foo117
> > doesn't currently exist?
>
> Actually with devfs it's really easy. If user space tries to open
> /dev/foo117, and it doesn't already exist, this will generate a devfsd
> event. Then devfsd can look in its config file and call modprobe.

Funny, that... Where did I hear about something similar? Ah, yes.
automounter. Somebody, tell Richard that Sun had stolen his idea many
moons ago...

BTW, _what_ was that wrong with using autofs for that instead of
reinventing the wheel?

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



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:21 EST