diff options
author | Thierry.Vignaud <thierry.vignaud@gmail.com> | 2014-05-21 11:26:33 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-24 01:47:09 +0200 |
commit | b2c42ba3b0fa6ae68c9f2cb78fa37831e844f8af (patch) | |
tree | c4177b278fb3aeaed2281048eca803c05b510273 /mdk-stage1 | |
parent | ce5d7400b8213d2995bb96c4b80665082fde8975 (diff) | |
download | drakx-b2c42ba3b0fa6ae68c9f2cb78fa37831e844f8af.tar drakx-b2c42ba3b0fa6ae68c9f2cb78fa37831e844f8af.tar.gz drakx-b2c42ba3b0fa6ae68c9f2cb78fa37831e844f8af.tar.bz2 drakx-b2c42ba3b0fa6ae68c9f2cb78fa37831e844f8af.tar.xz drakx-b2c42ba3b0fa6ae68c9f2cb78fa37831e844f8af.zip |
outdated, we now use glibc
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/doc/WHY-DIETLIBC | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/mdk-stage1/doc/WHY-DIETLIBC b/mdk-stage1/doc/WHY-DIETLIBC deleted file mode 100644 index e7c526b49..000000000 --- a/mdk-stage1/doc/WHY-DIETLIBC +++ /dev/null @@ -1,50 +0,0 @@ -(the dietlibc is a replacement for the glibc, which aim is to produce -smaller statically linked binaries) - - -The use for dietlibc in the stage1 was clear because currently used -install process on x86 is from a 1.44 Mbytes floppy. On this floppy we -need to fit the kernel, modules (scsi and network access), and the code to -do the basic things to load the stage2. The only part on which we could -progress was the code. - -As always, figures demonstrate evidences. Here are the size of the -binaries used for the cdrom, disk, network and full floppy installs, using -newt as the UI library: - - - with glibc - --rwxr-xr-x 1 gc gc 569448 May 15 15:29 stage1-cdrom --rwxr-xr-x 1 gc gc 572264 May 15 15:29 stage1-disk --rwxr-xr-x 1 gc gc 624712 May 15 15:30 stage1-network --rwxr-xr-x 1 gc gc 720360 May 15 15:29 stage1-full - - - with dietlibc - --rwxr-xr-x 1 gc gc 169332 May 15 14:26 stage1-cdrom --rwxr-xr-x 1 gc gc 172180 May 15 14:26 stage1-disk --rwxr-xr-x 1 gc gc 198612 May 15 14:26 stage1-network --rwxr-xr-x 1 gc gc 251764 May 15 14:26 stage1-full - - -The `stage1-full' binary has code for many things, most notably: data -decrunching (bzlib), archive extraction (in-house format), module loading -(insmod from busybox), PCI detection, ide and scsi handling, -cdrom/disk/loopback mounting, DHCP client negociation (redhat+grub), NFS -mounting (util-linux), FTP and HTTP transmission (redhat), pcmcia -initializing (pcmcia-cs), UI interaction (slang/newt); with use of the -dietlibc, the binary is only 250 kbytes! - - -Due to the modular coding, it is also possible to choose to not use -slang/newt as the UI, but a stdio-only UI. In that case, the binaries get -even smaller: - --rwxr-xr-x 1 gc gc 104500 May 15 15:46 stage1-cdrom* --rwxr-xr-x 1 gc gc 107348 May 15 15:46 stage1-disk* --rwxr-xr-x 1 gc gc 133972 May 15 15:47 stage1-network* --rwxr-xr-x 1 gc gc 187348 May 15 15:46 stage1-full* - - - -gc [Tue May 15 15:58:34 2001]
\ No newline at end of file |