From owner-freebsd-current@FreeBSD.ORG Sun Nov 16 14:56:44 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 3800B16A4CE for ; Sun, 16 Nov 2003 14:56:44 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id E91E943FDD for ; Sun, 16 Nov 2003 14:56:42 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) hAGMuf8I095054; Sun, 16 Nov 2003 14:56:41 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)hAGMufNL095053; Sun, 16 Nov 2003 14:56:41 -0800 (PST) (envelope-from sgk) Date: Sun, 16 Nov 2003 14:56:41 -0800 From: Steve Kargl To: Darren Pilgrim Message-ID: <20031116225641.GA95045@troutmask.apl.washington.edu> References: <20031116051028.GA30485@roark.gnf.org> <20031116145024.2d0f1393.dmp@bitfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031116145024.2d0f1393.dmp@bitfreak.org> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org 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:56:44 -0000 On Sun, Nov 16, 2003 at 02:50:24PM -0800, Darren Pilgrim wrote: > 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? /lib and /libexec. -- Steve