Subject: Re: why /bin and /sbin static
To: NetBSD User's Discussion List <firstname.lastname@example.org>
From: Greg A. Woods <email@example.com>
Date: 03/19/2001 15:31:51
[ On Monday, March 19, 2001 at 20:12:30 (+0100), firstname.lastname@example.org 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 <email@example.com> <robohack!woods>
Planix, Inc. <firstname.lastname@example.org>; Secrets of the Weird <email@example.com>