Subject: Re: why /bin and /sbin static
To: None <wojtek@wojtek.from.pl>
From: Charles M. Hannum <root@ihack.net>
List: netbsd-users
Date: 03/18/2001 12:55:52
On Sun, Mar 18, 2001 at 09:42:11PM +0100, wojtek@wojtek.from.pl wrote:
>
> so 244K of text
>
> compare to this:
>
> text data bss dec hex filename
> 13843 368 544 14755 39a3 /bin/ls
>
> 14KB text+the rest 230 from libc.so
> but this 230 is SHARED with other binaries.
The arithmetic isn't *quite* that simple. Among other things, there is
some additional space used by ld.so to store the PLT and whatnot.
Still, it's a huge win -- especially for machines with small memory or
storage. (Can you say `hpc'?)