Re: Future devfs plans

From: Rafael do N. Pereira
Date: Sun Jul 25 2004 - 19:22:54 EST


On Mon, 2004-07-26 at 11:45, Adam J. Richter wrote:
> Do not delete devfs.
>
> devfs allows drivers to be loaded when user level programs
> need them,


I think it can asnwer your question:

Q: But wait, I really want udev to automatically load drivers when they
are not present but the device node is opened. It's the only reason I
like using devfs. Please make udev do this.
A: No. udev is for managing /dev, not loading kernel drivers.

Q: Oh come on, pretty please. It can't be that hard to do.
A: Such a functionality isn't needed on a properly configured system. All
devices present on the system should generate hotplug events, loading
the appropriate driver, and udev will notice and create the
appropriate device node. If you don't want to keep all drivers for your
hardware in memory, then use something else to manage your modules
(scripts, modules.conf, etc.) This is not a task for udev.

It was taken from http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ


Rafael.

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