Well, around 1.3.30 or so I had a patch similar to the bzImage stuff;
I overloaded the chroot() system call to change the root file system
and discard the old root file system. This way I booted a kernel from
a floppy with the floppy as its root file system. It set up the networking
itself, ifconfig, route, etc all on the first root filesystem. It then
mounted an NFS filesystem on /root and changed the root file system to
/root, freeing the floppy root. The last thing was to exec /sbin/init
et voila.. Linux kernel with NFS root without the baggage in the kernel.
Ofcourse you can now do the same thing with the initrd support; just
include bootpclient (or dhcpclient), ifconfig, route and some shell
scripts or C program to glue things together on the initial ramdisk.
As I said above, you don't even need the NFS root option. Just mount
the rootfs with NFS on /linuxrc.
Did I miss anything?
Mike.
-- + Miquel van Smoorenburg + Cistron Internet Services + Living is a | | miquels@cistron.nl (SP6) | Independent Dutch ISP | horizontal | + miquels@drinkel.ow.org + http://www.cistron.nl/ + fall +