lkml.org 
[lkml]   [2002]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Query about initramfs and modules
On Tue Jan 15, 2002 at 10:29:12PM -0500, Alexander Viro wrote:
> > Can/will the initramfs mechanism be made to implicitly load into the
> > kernel the modules (or some of the modules) in the image?
>
> No. The point of initramfs is to remove crap from kernel and switch
> to using normal code paths for late-boot stuff. _Adding_ insmod
> analog into the kernel? No, thanks.

Keep in mind that insmod current needs to incorporate a full ELF
interpreter in userspace (and the source code needs to know about
all the types of relocations and jump for each arch and for 32
and 64 bit ELF. Horrible stuff really. If we could cleanup the
kernel's insmod implementation to require merely a syscall
passing a filename to the kernel, it would sure make the
initramfs smaller and simpler. I believe Rusty made a patch to
do this sort of thing....

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.107 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site