From owner-freebsd-hackers Thu Nov 14 1:39:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3211837B401 for ; Thu, 14 Nov 2002 01:39:18 -0800 (PST) Received: from herring.nlsystems.com (mailgate.nlsystems.com [62.49.251.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECB0443E6E for ; Thu, 14 Nov 2002 01:39:16 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring [10.0.0.2]) by herring.nlsystems.com (8.12.6/8.12.6) with ESMTP id gAE9cqDP084785; Thu, 14 Nov 2002 09:38:53 GMT (envelope-from dfr@nlsystems.com) Content-Type: text/plain; charset="iso-8859-1" From: Doug Rabson To: "M. Warner Losh" , nate@root.org Subject: Re: Shrinking /(s)bin: A Proposal Date: Thu, 14 Nov 2002 09:38:52 +0000 User-Agent: KMail/1.4.3 Cc: kientzle@acm.org, hackers@FreeBSD.ORG References: <3DD03D9A.6090805@acm.org> <20021113.234516.77421925.imp@bsdimp.com> In-Reply-To: <20021113.234516.77421925.imp@bsdimp.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211140938.52546.dfr@nlsystems.com> X-Spam-Status: No, hits=-7.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_KMAIL version=2.41 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 14 November 2002 6:45 am, M. Warner Losh wrote: > In message: > > Nate Lawson writes: > : On Mon, 11 Nov 2002, Tim Kientzle wrote: > : > The possibility of dynamically linking /(s)bin seems > : > to recur pretty regularly. As libc continues to grow, > : > this idea seems worth revisiting. However, I've come up > : > with an alternative that might be worth considering. > : > : I'm open to patches for building /[s]bin as dynamic. If you have > : time and can coordinate with lukem@netbsd.org to build the patch, I > : would appreciate it. > > % make NOSHARED=3DNO buildworld > > No patches necessary. We do this all the time at work, and it works > fabulously. I do this for disk based systems that have / and /usr on > the same file system too. To do it right for split root/usr installations requires a few patches=20 though. The rtld and the libs required for /[s]bin need to move to /=20 and compat symlinks created from /usr. A suitable crunchgen'ed binary=20 for /recover would be useful too. --=20 Doug Rabson=09=09=09=09Mail: dfr@nlsystems.com =09=09=09=09=09Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message