Messages in this thread | | | Date | Mon, 11 Oct 1999 16:56:58 -0700 (PDT) | From | Dan Hollis <> | Subject | Re: My $0.02 on devd and devfs |
| |
On Mon, 11 Oct 1999, Jeff Garzik wrote: > Drivers which are not explicitly hot-plug need some sort of "kick" > before the kernel knows it needs to load a module/driver. Having that > kick come in the form of open(), or worse stat(), is the part I don't > like.
But this is what happens with kerneld/kmod (well, mostly). Someone does an open() on a device node. The kernel sees a request for a maj/min which isnt registered with the kernel yet. So it kicks off modprobe to load the driver, in the hopes the request can be fulfilled.
Same concept.
-Dan
- 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/
| |