[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.24 boot floppy

Joey Hess wrote:
> Dropping klibc sh and rewriting init as a custom klibc executable would
> probably save about 25kb..

Done, new C init is about 3kb, and once klibc sh, mkdir, and mknod are
removed and a kernel with modular ext2 used, and all the syslinux help
screens dropped, it fits. Barely. Less than 1k free.. :-/

A few things can still be done to reduce size. Embedding mount, umount,
cat, gunzip, and cpio code in the init binary and statically linking it
to klibc would probably save 30 kb or so. (This would also allow upxing

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: