Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 14:56:41 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Darren Pilgrim <dmp@bitfreak.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADS UP: /bin and /sbin are now dynamically linked
Message-ID:  <20031116225641.GA95045@troutmask.apl.washington.edu>
In-Reply-To: <20031116145024.2d0f1393.dmp@bitfreak.org>
References:  <20031116051028.GA30485@roark.gnf.org> <B40D24A3-1843-11D8-ACF8-00039310484E@zigweid.net> <20031116145024.2d0f1393.dmp@bitfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 16, 2003 at 02:50:24PM -0800, Darren Pilgrim wrote:
> On 2003.11.16 09:46:47 -0500, Robert M.Zigweid <rzigweid@zigweid.net>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031116225641.GA95045>