Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 09:46:47 -0500
From:      Robert M.Zigweid <rzigweid@zigweid.net>
To:        Gordon Tetlow <gordont@gnf.org>
Cc:        current@FreeBSD.org
Subject:   Re: HEADS UP: /bin and /sbin are now dynamically linked
Message-ID:  <B40D24A3-1843-11D8-ACF8-00039310484E@zigweid.net>
In-Reply-To: <20031116051028.GA30485@roark.gnf.org>
References:  <20031116051028.GA30485@roark.gnf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-3-492493859
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


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.
>
> -gordon

I'll admit to being mostly a lurker here, but isn't the point of /sbin 
to be statically linked.  That's what the 's' stands for?

Second question.  This seems to imply that /sbin and /bin both have to 
have the same behavior?  I have no problem with /bin being dynamically 
linked, but what if I want /bin to be dynamic and /sbin static?


Regards,

Robert M. Zigweid

--Apple-Mail-3-492493859
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-disposition: inline
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBP7eN2wZqWA0nw+UhEQLKkgCdGka6CbrPwyHOEuqj28n+SOXIP8IAoO7i
WO5z7u0pGdfv8Img2wF+PTHW
=JQyX
-----END PGP SIGNATURE-----

--Apple-Mail-3-492493859--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B40D24A3-1843-11D8-ACF8-00039310484E>