From owner-freebsd-questions Tue Jun 3 08:14:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA03326 for questions-outgoing; Tue, 3 Jun 1997 08:14:14 -0700 (PDT) Received: from coconut.blueberry.co.uk ([194.70.52.66]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA03302 for ; Tue, 3 Jun 1997 08:14:05 -0700 (PDT) Received: (from nik@localhost) by coconut.blueberry.co.uk (8.8.5/8.8.5) id QAA13589; Tue, 3 Jun 1997 16:13:33 +0100 (BST) Message-ID: <19970603161332.44227@blueberry.co.uk> Date: Tue, 3 Jun 1997 16:13:32 +0100 From: Nik Clayton To: "Sexton, Robert" Cc: freebsd-questions@hub.freebsd.org Subject: Re: Shared Source Tree References: <4F1AF95B0187397C@mg01a.mhs.squared.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: <4F1AF95B0187397C@mg01a.mhs.squared.com>; from Sexton, Robert on Mon, Jun 02, 1997 at 10:46:59AM -0400 Organization: Blueberry New Media Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. 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 ]=+--