HEADS UP: /bin and /sbin are now dynamically linked
sgk at troutmask.apl.washington.edu
Sun Nov 16 14:56:44 PST 2003
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 at zigweid.net>
> > 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.
More information about the freebsd-current