Trivially: it's the module installer's job. (Actually, dynamic devices
are bad, this one of the major reasons why.)
-hpa
who said anything about modules? ok, you might be able to hack something
up with the module installer, ugly.. but anyway.
Now what do you about dynamic devices handled by the same driver: eg
hot-plug buses like usb, firewire?? Do you propose that the complete
driver module should have to be loaded/unloaded every time the user
(un)plugs a device onto/off the bus?
If that's how you want to do things, then i can see why you think
dynamic devices are bad, or at the very least ugly.
Better to reboot your computer or unload/load the bus driver whenever
you want to plug in, eg, your firewire digital camera, or your usb
speakers. Yes, much better. (sorry for the sarcasm).
On the otherhand, with devfs, dynamic devices become piss easy. You plug
in your USB camera. The USB driver registers it, and the /dev entry
magically appears. (what it'll be called is another issue - not
devfs's). A lot less pain, a lot cleaner, a lot saner, and generic.
regards,
-
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/