From: "Bryan O'Sullivan" <bos@serpentine.com>
To: linux-kernel@vger.kernel.org
Subject: [CFT] klibc-based userspace ipconfig and nfsroot replacements
Date: 05 May 2003 21:51:58 -0700 [thread overview]
Message-ID: <1052196718.15298.17.camel@camp4.serpentine.com> (raw)
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
reply other threads:[~2003-05-06 4:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1052196718.15298.17.camel@camp4.serpentine.com \
--to=bos@serpentine.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).