On 2002-12-18 09:35, Thomas Spreng <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 17, 2002 at 05:50:07PM -0800, Kent Stewart wrote:
> > On Tuesday 17 December 2002 07:51 am, Matthew Seaman wrote:
> > >
> > >     make installworld DESTDIR=/mnt
> > >
> > > installs everything relative to /mnt instead of / --- see
> > > jail(8) for some examples of doing just that.
> >
> > What I do is create /usr/src and /usr/obj as their own 1.5 GB
> > partitions. That is 4-5x larger than I need. Then, I can NFS_mount
> > them on any system as /usr/src and /usr/obj. You don't have to
> > play games with names, DESTDIR, or etc.
>
> why would you want /usr/obj nfs mounted as well?

Because "make installworld" will find any compiled programs under that
path, and copy them to their destination.  /usr/src doesn't contain
executables or libraries[1].  The sources from /usr/src are compiled
to executables and saved under /usr/obj.

If you don't have machines of completely different architectures, you
can buildworld once, then mount /usr/obj and /usr/src as many times as
you want and install the same userland/kernel to a lot of machines.

- Giorgos

[1] Not 100% true, but if you follow the recommended instructions for
doing upgrades through source, this is what happens.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to