Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 09:38:52 +0000
From:      Doug Rabson <dfr@nlsystems.com>
To:        "M. Warner Losh" <imp@bsdimp.com>, nate@root.org
Cc:        kientzle@acm.org, hackers@FreeBSD.ORG
Subject:   Re: Shrinking /(s)bin: A Proposal
Message-ID:  <200211140938.52546.dfr@nlsystems.com>
In-Reply-To: <20021113.234516.77421925.imp@bsdimp.com>
References:  <3DD03D9A.6090805@acm.org> <Pine.BSF.4.21.0211131723350.41379-100000@root.org> <20021113.234516.77421925.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 14 November 2002 6:45 am, M. Warner Losh wrote:
> In message: <Pine.BSF.4.21.0211131723350.41379-100000@root.org>
>
>             Nate Lawson <nate@root.org> 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




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