From owner-freebsd-current@FreeBSD.ORG Sun Nov 16 14:50:27 2003 Return-Path: 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 7800C16A4CE for ; Sun, 16 Nov 2003 14:50:27 -0800 (PST) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5396143FB1 for ; Sun, 16 Nov 2003 14:50:26 -0800 (PST) (envelope-from dmp@bitfreak.org) Received: from speck.techno.pagans (12-206-23-247.client.attbi.com [12.206.23.247]) by spork.pantherdragon.org (Postfix) with ESMTP id CCC112A403 for ; Sun, 16 Nov 2003 14:50:25 -0800 (PST) Received: from speck.techno.pagans (localhost [127.0.0.1]) by speck.techno.pagans (Postfix) with SMTP id BA43EC0D9 for ; Sun, 16 Nov 2003 14:50:24 -0800 (PST) Date: Sun, 16 Nov 2003 14:50:24 -0800 From: Darren Pilgrim To: freebsd-current@freebsd.org Message-Id: <20031116145024.2d0f1393.dmp@bitfreak.org> In-Reply-To: References: <20031116051028.GA30485@roark.gnf.org> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 22:50:27 -0000 On 2003.11.16 09:46:47 -0500, Robert M.Zigweid wrote: > > On Nov 16, 2003, at 12:10 AM, Gordon Tetlow wrote: > > > I just committed a patch to change /bin and /sbin from statically to > > dynamically linked. If you don't like the idea of using a > > dynamically linked /bin and /sbin, now is the time to define > > NO_DYNAMICROOT in your make.conf. > > > > The reasons for doing so have been hashed over lots of times. But > > the short of it: > > > > 1) Much smaller /bin and /sbin. On i386, /bin and /sbin are 33 MB > > static. > > Dynamically linked, they are only 4 MB. > > 2) Proper support for NSS. This will finally allow you to use NSS > > modules > > and get things like usernames in ls -l working for modules that > > are dynamically loaded. What was done to programs like /bin/sh, /sbin/init and /sbin/fsck to make them work without access to /usr/lib?