Re: [PATCH][RFC] disable built-in modules V2

From: Magnus Damm
Date: Sat Apr 09 2005 - 05:15:55 EST


On Apr 9, 2005 12:07 PM, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, Apr 09, 2005 at 12:03:45PM +0200, Magnus Damm wrote:
> >
> > > Perhaps they should start using initramfs then.
> >
> > But how does that help me? I still want to be able to pass a list of
> > unwanted modules on the kernel command line. Using initramfs and
> > modules is fine, although I would prefer being able to unload built-in
> > modules instead - but that is another story. Your suggestion just
> > pushes the problem to user space. I think the best alternative would
>
> Well you know what they say:
>
> If it can be done in user space, then do it in user space.
>
> Once the drivers are put on the initramfs it is trivial to add code that
> disables them based on boot-time options.

I agree. And if I understand your opinion correctly you believe that
kernels with built-in modules should not have the feature that my
patch provides, right?

I think it would be a nice feature regardless of initramfs or not.

Thanks for your input!

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