[klibc] [patch 00/12] ipconfig and nfsmount compatibility with glibc

Erik van Konijnenburg ekonijn at xs4all.nl
Sun May 22 15:17:40 PDT 2005


On Sun, May 22, 2005 at 10:39:22AM -0700, H. Peter Anvin wrote:
> Erik van Konijnenburg wrote:
> > 
> > The kinit rewrite stays a bit closer to the nfsroot.txt
> > kernel documentation, does a fallback from TCP to UDP to NFSv2
> > if needed, and handles only NFS: no mounting of /sys, no pivotroot,
> > no searching for root file systems other than NFS.  This should
> > make it play nicer with the rest of the initrd; I can post it if
> > anyone has a use for this.  But I digress.
> > 
> 
> No, that's completely the wrong thing.  kinit *MUST* be a full 
> replacement for prepare_namespace() in the kernel; in fact, there is 
> lots of *MISSING* functionality.

Oops, my description was a bit sloppy; sorry about that.  The program in
question (working name: trymount) is not intended as a kinit replacement
but as a smaller building block to be used in the context of an init
script, either on an initrd or initramfs.  In the script, it comes after
module loading and before an optional interactive shell for debugging
and the switch to the final root device.

Different program with a different name and a different purpose; the
only reason to describe it as a rewrite of kinit is that while building
it, I payed very close attention to the magic you used to reliably
integrate ipconfig and nfsmount.

> --> INITRAMFS IS NOT INITRD <--
> 
> Say that forty-seven million times.

Perl and festival are working on it now :-)

Regards,
Erik



More information about the klibc mailing list