Subject: Re: bin/425: making ld.so a bit smaller
To: Chris G. Demetriou <cgd@alpha.bostic.com>
From: Luke Mewburn <lm@rmit.edu.au>
List: netbsd-bugs
Date: 08/21/1994 14:02:49
> > We could do the same for many of the statically linked executables. We'd
> > save a few K here and there, but I don't think it is worth the hassle.
> >
> > Various different utilities pulling in vfprintf.c from the C library seems
> > to be a maintenance headache waiting to happen.
>
> I agree completely. One could go on forever doing this, and have
> little more than a lot of #ifdefs and maybe 300k of disk space.
A way to save a LOT of disk space is NOT to have -DYP in libc/Makefile.
I was running really low of space in my 8MB / (to the point where
keeping one backup kernel put the available space to 105% - and /root &
/home are different partitions.) Removing YP support reduced the size
of the stuff in /bin and /sbin by a lot.
Another space saving idea is merging a lot of the mount_* commands (select
on argv[0]); at 36K each you could save a couple of hundred K. Then again,
the maintenance overheads may not be worth it.
------------------------------------------------------------------------------