HEADS UP: /bin and /sbin are now dynamically linked

Darren Pilgrim dmp at bitfreak.org
Sun Nov 16 14:50:27 PST 2003


On 2003.11.16 09:46:47 -0500, Robert M.Zigweid <rzigweid at 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?


More information about the freebsd-current mailing list