Date: Thu, 31 Oct 2002 14:19:39 -0500 (EST) From: Wesley Morgan <morganw@chemikals.org> To: Tim Kientzle <kientzle@acm.org> Cc: current@FreeBSD.ORG Subject: Re: libc size Message-ID: <20021031140542.W86715-100000@volatile.chemikals.org> In-Reply-To: <3DC17C7F.9020308@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 Oct 2002, Tim Kientzle wrote: > I agree with David Schultz that dynamically linking > /bin and /sbin is playing with fire. I, too, have had > ugly experiences on systems that did this: > When /usr won't mount, it is not pleasant to be > stuck with no tools. (Consider a network environment > where /usr is NFS-mounted as an extreme example.) And of course the "answer" to that is to create a /lib. Something that I would *never ever* want to see. Sure, a few people might throw around the idea of an extremely light-weight set of libraries to go into /lib blah blah. But I just don't like the idea. Why not create a minimalist C library, build with -nostdlib and staticly link against exactly what you need. I usually create a 128 or 64mb root, and the only time this gets "tight" is when I keep too many kernels around in /boot. I seem to recall other arguments being settled by the "disk space is extremely cheap" issue. Call me crazy, but FreeBSD just has this "zen" feeling to it, and making this kind of change doesnt feel very zennish. I'm sure there are greater minds than mine working over this issue, but thats my $0.02. -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021031140542.W86715-100000>