From owner-freebsd-questions@FreeBSD.ORG Sat Dec 30 07:13:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 854F216A407 for ; Sat, 30 Dec 2006 07:13:24 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 3464513C44C for ; Sat, 30 Dec 2006 07:13:24 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from working (c-71-60-174-60.hsd1.pa.comcast.net [71.60.174.60]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Sat, 30 Dec 2006 02:13:21 -0500 id 0005643F.45961191.000055CA Date: Sat, 30 Dec 2006 02:13:19 -0500 From: Bill Moran To: Chris Whitehouse Message-Id: <20061230021319.d684b72e.wmoran@collaborativefusion.com> In-Reply-To: <4595D15B.4090804@childeric.freeserve.co.uk> References: <459594CA.2050601@schrodinger.com> <20061229175536.c5959bfd.wmoran@collaborativefusion.com> <4595D15B.4090804@childeric.freeserve.co.uk> Organization: Collaborative Fusion Inc. X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sharing ports tree, possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2006 07:13:24 -0000 Chris Whitehouse wrote: > > Bill Moran wrote: > > In response to Simon Gao : > > > >> Is it possible to share ports tree directory? If so, what's the procedure? > > > > Yes. You generally want to set WRKDIRPREFIX to something like /var/ports > > or /usr/obj to ward off conflicts. Otherwise, just put it on an NFS server > > an NFS mount it. > > > using mount_nfs -L ? I'm not 100% sure if -L is required, since there shouldn't be any locking when you use WRKDIRPREFIX. If you see locking problems, add it. Actually, you can mount /usr/ports ro if you set WRKDIRPREFIX. Unless you want to fetch distfiles on the client machines, but you can work around that as well with a different environment variable (name escapes me at the moment). -Bill