DragonFly BSD
DragonFly kernel List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: devfs vs udev/hotplug


From: Diego Calleja García <diegocg@xxxxxxxxxxx>
Date: Thu, 22 Apr 2004 18:56:19 +0200

El Wed, 21 Apr 2004 10:36:24 -0700 (PDT) Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx> escribió:

>     I wasn't even thinking of a userland file server.  I was simply thinking


There's one thing that devfs did and udev can't do (and it won't
do because it's not its task; but there's not a replacement)

With devfs you can "unload" (or not load at all) modules, so when
a program try to access ej: a (already connected) USB stick
devfs loads its module and all works. udev however relies on
all modules being loaded; if a module isn't loaded and a 
program try to access that usb stick it will fail because
nobody will load the module (and hence udev will not create
the device node). This seems to be important on embedded
devices where memory is a precious resource and you wouldn't
want to load all the modules at the same time to save a few
KB of mem.

How would solve this the (future) Dragonfly's VFS model?




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]