linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [CFT] klibc-based userspace ipconfig and nfsroot replacements
@ 2003-05-06  4:51 Bryan O'Sullivan
  0 siblings, 0 replies; only message in thread
From: Bryan O'Sullivan @ 2003-05-06  4:51 UTC (permalink / raw)
  To: linux-kernel

I've done some work within the framework of klibc and initramfs to
replace the in-kernel ipconfig and nfsroot code.  A snapshot of the
klibc CVS tree is available at:

    http://www.speakeasy.org/~bos/klibc-20020505.tar.bz2

This contains a klibc tree that builds against 2.5.68 and 2.5.69 (at
least on x86), along with three programs of interest:

      * ipconfig was written by Russell King several months ago.  I've
        removed bit rot from the code and made some changes so that it
        handles both DHCP and static configuration.
      * nfsmount is a filesystem mounter for NFS v2 and v3, UDP and
        TCP.  Tested only against Linux servers so far.
      * kinit is a single statically-linked binary that incorporates
        both ipconfig and nfsmount, and which can be dropped into an
        initramfs filesystem for use as /sbin/init.  It parses
        /proc/cmdline for "ip=" and "nfsroot=" sections, performs IP
        configuration, NFS mounting, and finally does a pivot_root to
        the freshly-mounted filesystem.

I don't yet have quite enough hardware handy to be able to test the last
10 lines of code in kinit without substantial inconvenience, but It
Should Work (TM).

If you're interested in kicking the tyres and ironing out problems, you
may want to subscribe to the klibc mailing list so that HPA and others
can see what's going on:

    http://www.zytor.com/mailman/listinfo/klibc

Otherwise, please send problem reports to me directly.

	<b


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-06  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06  4:51 [CFT] klibc-based userspace ipconfig and nfsroot replacements Bryan O'Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).