From owner-freebsd-current Thu Oct 31 11:19:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAA4C37B401 for ; Thu, 31 Oct 2002 11:19:41 -0800 (PST) Received: from volatile.chemikals.org (cae57-176-131.sc.rr.com [66.57.176.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4728043E77 for ; Thu, 31 Oct 2002 11:19:41 -0800 (PST) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.12.6/8.12.6) with ESMTP id g9VJJdRv086968; Thu, 31 Oct 2002 14:19:39 -0500 (EST) (envelope-from morganw@chemikals.org) Date: Thu, 31 Oct 2002 14:19:39 -0500 (EST) From: Wesley Morgan To: Tim Kientzle Cc: current@FreeBSD.ORG Subject: Re: libc size In-Reply-To: <3DC17C7F.9020308@acm.org> Message-ID: <20021031140542.W86715-100000@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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