Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 1997 16:13:32 +0100
From:      Nik Clayton <nik@blueberry.co.uk>
To:        "Sexton, Robert" <sextonr.crestvie@squared.com>
Cc:        freebsd-questions@hub.freebsd.org
Subject:   Re: Shared Source Tree
Message-ID:  <19970603161332.44227@blueberry.co.uk>
In-Reply-To: <4F1AF95B0187397C@mg01a.mhs.squared.com>; from Sexton, Robert on Mon, Jun 02, 1997 at 10:46:59AM -0400
References:  <4F1AF95B0187397C@mg01a.mhs.squared.com>

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 <Pine.BSI.3.94.970220135725.245C-100000@militzer.me.tuns.ca>,
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.

N
-- 
--+=[ Blueberry Hill                  Blueberry New Media                ]=+--
--+=[ http://www.blueberry.co.uk/     1/9 Chelsea Harbour Design Centre, ]=+--
--+=[ WebMaster@blueberry.co.uk       London, England, SW10 0XE          ]=+--
--+=[      Contributing to the heat death of the Universe since 1973     ]=+--



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