devfs vs udev/hotplug

esmith esmith at patmedia.net
Thu Apr 22 11:07:11 PDT 2004


Diego Calleja García escribio:

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.

I think the uSDE approach might address these types of embedded problems.






More information about the Kernel mailing list