Subject: Re: why /bin and /sbin static
To: NetBSD User's Discussion List <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 03/19/2001 15:31:51
[ On Monday, March 19, 2001 at 20:12:30 (+0100), email@example.com wrote: ]
> Subject: Re: why /bin and /sbin static
> no. dividing libraries is inefficient with shared libs. it takes more
> memory etc...
> one big libc for all would be better ...
Ah! And there's the rub! If all the libraries were carefully divided
and every module within was carefully isolated with sane internal
design, then *static* linking would actually be *MUCH* more efficient
in many multi-user scenarios than the use of dynamic loading with ld.so.
Much of what you've shown is the result of poor internal design in some
For example there should be no need to pull in *all* of libdb if all you
want to do is *read* a db file!
Having too much memory available has definitely made systems programmers
just as lazy and inefficient as most applications programmers get under
the same conditions.
Greg A. Woods
+1 416 218-0098 VE3TCP <firstname.lastname@example.org> <robohack!woods>
Planix, Inc. <email@example.com>; Secrets of the Weird <firstname.lastname@example.org>