Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 1997 16:13:32 +0100
From:      Nik Clayton <>
To:        "Sexton, Robert" <>
Subject:   Re: Shared Source Tree
Message-ID:  <>
In-Reply-To: <>; from Sexton, Robert on Mon, Jun 02, 1997 at 10:46:59AM -0400
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Jun 02, 1997 at 10:46:59AM -0400, Sexton, Robert wrote:
> Is it possible under 2.2 to NFS-share a source tree?
> I found a discussion of this 18 months ago where Jordan said that every
> host needs it's own /usr/src.  I'm hoping this has changed, because
> I'd really like to maintain only one tree with cvsup.
> I did try to Readonly mount the existing 2.2 tree via NFS, but make
> world died about halfway through with a write error.

Am I right in assuming you're talking about maintaining one /usr/src,
NFS exporting to various client machines, and then having these clients
execute 'make world'?

As far as I know, you can't.

However, in <>,
Antonio Bemfica suggested this:

    First make world, etc. on your main machine
    Second, mount / and /usr from the remote machine:

        main_machine% mount remote_machine:/   /mnt
        main_machine% mount remote_machine:/usr /mnt/usr 
    Third, do a 'make install' with /mnt as the destination:
        main_machine% make install DESTDIR=/mnt
    Repeat for every other remote machine on your network.  It works fine
    for me.

I've never tried this, but I don't see why it shouldn't work.

This is part of a larger document that I've written, that covers the
pitfalls and traps encountered when upgrading FreeBSD from the source
code. This document is available in both DocBook marked up SGML and HTML,
and is in the style of a FreeBSD tutorial. There is currently an
outstanding PR (docs/3628) on it, and I'm waiting for someone in core to
review it and hopefully include it on the tutorials page on the web site.

--+=[ Blueberry Hill                  Blueberry New Media                ]=+--
--+=[     1/9 Chelsea Harbour Design Centre, ]=+--
--+=[       London, England, SW10 0XE          ]=+--
--+=[      Contributing to the heat death of the Universe since 1973     ]=+--

Want to link to this message? Use this URL: <>