Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 13:57:35 -0800
From:      "David O'Brien" <dev-null@NUXI.com>
To:        Tim Kientzle <kientzle@acm.org>
Cc:        Miguel Mendez <flynn@energyhq.homeip.net>, morganw@chemikals.org, current@FreeBSD.ORG
Subject:   Re: libc size
Message-ID:  <20021104215734.GA47193@dragon.nuxi.com>
In-Reply-To: <3DC6CB56.8090809@acm.org>
References:  <3DC17C7F.9020308@acm.org> <20021031140542.W86715-100000@volatile.chemikals.org> <20021031220633.3acd0b53.flynn@energyhq.homeip.net> <3DC1AB26.5020708@acm.org> <20021103155858.3be6eda9.flynn@energyhq.homeip.net> <3DC6CB56.8090809@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 04, 2002 at 11:32:38AM -0800, Tim Kientzle wrote:
> Oh.  So the real size of NetBSD's /bin and /sbin includes
> another 2.4M for /rescue.  That makes it less
> impressive.  I don't find the duplication appealing, either.
> (Why not just put the /rescue versions directly
> into /bin and /sbin?  That would be smaller still,

Because that would nullify one of the big reasons for making /bin and
/sbin shared -- so one can dlopen(3).  We can't, for instance, get a
proper nsswitch implementation until we make /bin and /sbin dynamic.

Before someone says you can dlopen() from static binaries in order to
implement nsswitch, please provide the patch proving it.  Our best
FreeBSD minds don't think it can be done properly and sanely.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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