Re: modules

Fuzzy Fox (fox@dallas.net)
Tue, 8 Sep 1998 01:06:44 -0500


Rob Dale <rob@nb.net> wrote:
>
> > Would it be possible to modify the kernel module code so that a kernel
> > does not have to be compiled to accept a specific module?
>
> Why not just recompile the module?

Here's what I think he means:

Suppose you built a kernel without parallel-port support
(CONFIG_PARPORT=n), because you thought you didn't need it.

But then someone comes along and gives you a free printer, and you want
to plug it in and set it up. Well, now you have to recompile your
kernel with a new config (CONFIG_PARPORT=m) and reboot.

Wouldn't it be really nice if you could just go compile the parport
module(s) and then load them in? Wouldn't it be nice if the kernel
didn't have to know ahead of time which modules it were possible to
load?

Of course, such a major design change would probably not make it into
2.2. :)

-- 
   fox@dallas.net (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown

- 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/faq.html