From owner-freebsd-current Mon Nov 4 13:59:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 884AC37B401 for ; Mon, 4 Nov 2002 13:59:17 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A6EB43E6E for ; Mon, 4 Nov 2002 13:59:16 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gA4LwvCE047314; Mon, 4 Nov 2002 13:58:57 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gA4LvZ3H047289; Mon, 4 Nov 2002 13:57:35 -0800 (PST) Date: Mon, 4 Nov 2002 13:57:35 -0800 From: "David O'Brien" To: Tim Kientzle Cc: Miguel Mendez , morganw@chemikals.org, current@FreeBSD.ORG Subject: Re: libc size Message-ID: <20021104215734.GA47193@dragon.nuxi.com> Reply-To: current@FreeBSD.ORG Mail-Followup-To: David O'Brien , Tim Kientzle , Miguel Mendez , morganw@chemikals.org, current@FreeBSD.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DC6CB56.8090809@acm.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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