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

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


On Apr 9, 2005 11:48 AM, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, Apr 09, 2005 at 11:43:59AM +0200, Magnus Damm wrote:
> >
> > > Perhaps your favourite distribution could build that as a module to
> > > start with.
> >
> > Right. Today distributions can boot from external usb-storage devices,
> > maybe even from firewire hardware as I am sure you know. I guess they
> > have support for a device built-in for a reason. I think most
>
> 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
be a combination of kernel-space code (my patch) and awareness of the
command line in the module loader running from initramfs/rootfs.

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