From owner-freebsd-current Wed Oct 30 21:24:46 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 AD6C037B401 for ; Wed, 30 Oct 2002 21:24:45 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B5043E6E for ; Wed, 30 Oct 2002 21:24:44 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g9V5OZpk050653; Wed, 30 Oct 2002 22:24:43 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 30 Oct 2002 22:23:43 -0700 (MST) Message-Id: <20021030.222343.06947774.imp@bsdimp.com> To: peter@wemm.org Cc: tlambert2@mindspring.com, nate@root.org, current@FreeBSD.ORG Subject: Re: libc size From: "M. Warner Losh" In-Reply-To: <20021030214158.CB6EA2A88D@canning.wemm.org> References: <3DC04861.3C5E975B@mindspring.com> <20021030214158.CB6EA2A88D@canning.wemm.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: <20021030214158.CB6EA2A88D@canning.wemm.org> Peter Wemm writes: : Terry Lambert wrote: : > Nate Lawson wrote: : > > Here is a link to the size of various components of libc, sorted by text : > > size. If you can find some way to reduce or even remove some of this, : > > please submit a patch. : > > : > > http://www.root.org/~nate/freebsd/lib_size.out : > : > Move the resolver code out to ibresolv.so, and link libc.so : > against libresolv.so so that legacy applications are happy, as : > long as they are compiled shared. Non-network apps can ignore : > most of it. Internal use of some of the biggest chunks is : > limited, so this should avoid dragging in a lot of it. : : We've been over this before. To make this work right, we need to make : /bin and /sbin dynamically linked. NetBSD's /rescue/* approach would : solve the "oops!" and other foot shooting problems. Let's make / and /usr on the same partition by default, which makes this easy... :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message