Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 02:13:19 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Chris Whitehouse <chris@childeric.freeserve.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sharing ports tree, possible?
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Whitehouse <chris@childeric.freeserve.co.uk> wrote:
>
> Bill Moran wrote:
> > In response to Simon Gao <gao@schrodinger.com>:
> > 
> >> 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



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