lkml.org 
[lkml]   [2002]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Query about initramfs and modules
H. Peter Anvin writes:
> Followup to: <15428.47094.435181.278715@irving.iisd.sra.com>
> By author: David Garfield <garfield@irving.iisd.sra.com>
> In newsgroup: linux.dev.kernel
> >
> > Hearing all this talk about initramfs and eliminating hardwired
> > drivers, it occurs to me to ask:
> >
> > 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 bulk of the work of module loading is the job for insmod.

Agreed. However, this work could easily be performed by an insmod
variant that takes a module, a "System.map", and a kernel image, and
produces a cpio file as output instead of passing the data to the
kernel for immediate processing. The kernel mechanism would then only
need to unpack the pieces, relocate, and make the system calls.
-
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:23    [W:0.557 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site