Re: PATCH: boot-time DHCP

Jes Sorensen (Jes.Sorensen@cern.ch)
13 Dec 1999 11:15:59 +0100


>>>>> "Jason" == Jason Gunthorpe <jgg@ualberta.ca> writes:

Jason> On Sat, 11 Dec 1999, Andi Kleen wrote:

>> A initrd on a romfs with only a stripped down dhcp client and a c
>> program to configure and mount the nfsroot should be <100K. The
>> initrd is freed after booting so you only waste a small bit of
>> memory on the romfs.

Jason> You must have a more magic-special glibc than I do,

Jason> pandora{jgg}/tmp#echo "int main(){};" > t.c ; gcc -Os t.c
Jason> --static; strip a.out; ls -l a.out -rwxr-xr-x 1 jgg Debian
Jason> 199376 Dec 11 21:37 a.out*

Then you use a stripped down ulibc for building the tools on the
initrd ... you don't necessarily need all the features of glibc to
configure the network interface and run bootp.

Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/