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

Re: busybox still too bloated



On Tue Sep 25, 2001 at 12:11:29AM -0800, Ethan Benson wrote:
> busybox in potato was much smaller then busybox in woody, if you don't
> wnat to remove all this bloat just make a bloody -bf package.

This is not a fair comparison.  Busybox in potato also didn't provide ar,
basename, cut, dirname, echo, env, expr, free, gzip, halt, lsmod, poweroff,
reset, sed, sort, tr, uniq, wc, wget, which, or whoami.  

In potato, it did provide id, loadacm, loadfont, logname, mktemp, tty which are
currently disabled.   I probably missed some applets -- it is pretty painful
comparing the old and new feature sets.



I suspect that all of the following could probably be eliminated: ar, date,
echo, env, expr, gzip, halt, lsmod, poweroff, wc, which, whoami.  

A quick check shows that disabling just , ar + date + echo + env + expr + gzip
+ lsmod adds up to 21k (x86).

Hmm.  I just noticed...  It looks like we do not use busybox ifconfig or
busybox route on the boot floppies.  We could save quite a bit of space that
way.

$ du -hc /sbin/ifconfig /sbin/route            
56k     /sbin/ifconfig
44k     /sbin/route
100k    total

By way of comparision, a full featured busybox ifconfig + route cost just 12k,
thereby saving us 88k (x86).  Then if we switch to using udhcp, we could save
another 88k over dhcp-client. 

 -Erik

--
Erik B. Andersen   email:  andersee@debian.org, formerly of Lineo
--This message was written using 73% post-consumer electrons--

Attachment: pgpMpI91_uBYn.pgp
Description: PGP signature


Reply to: