Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 11:53:16 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        hackers@FreeBSD.ORG
Subject:   Re: Shrinking /(s)bin: A Proposal
Message-ID:  <Pine.BSF.4.21.0211141126580.43663-100000@root.org>
In-Reply-To: <3DD3ECC1.17484EBD@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Nov 2002, Wes Peters wrote:
> Doug Rabson wrote:
> > 
> > On Thursday 14 November 2002 6:45 am, M. Warner Losh wrote:
> > >
> > > % make NOSHARED=NO 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
> > though. The rtld and the libs required for /[s]bin need to move to /
> > and compat symlinks created from /usr. A suitable crunchgen'ed binary
> > for /recover would be useful too.
> 
> Time to bring back /lib?

Yeah, this is what I figured patches would be needed for and it's more a
policy issue of fs layout than a technical problem.  A couple things that 
could be useful:

* All dynamic/static flag (imp's option above)
* Flag to selectively link dynamically/statically, overriding the above
flag for specific binaries (Makefile flags?)
* Minimal /lib (libc, ...?) with symlinks from /usr/lib
* Optional recovery crunchgen utility.

-Nate


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?Pine.BSF.4.21.0211141126580.43663-100000>