Shared /usr/ports directories

Dan Nelson dnelson at allantgroup.com
Thu May 19 10:27:10 PDT 2005


In the last episode (May 19), Richard Danter said:
> I have several machines running FBSD now. At the moment I have a
> complete ports tree on each machine. I was wondering if it was
> possible to have it all on just one machine and NFS mount it?
> 
> I have already been doing this for the /usr/ports/distfiles
> directory, but had not shared everything else as I was not sure if
> settings from a build on one machine may cause problems when building
> on another machine.
> 
> Each machine has it's own /etc/make.conf with settings such as the
> processor type, so it is important that one build can't effect
> another.

It works great here.  You don't have to worry about settings because
they aren't stored in /usr/ports.  If you want to build ports on
multiple machines at once (and also run a bit faster), set WRKDIRPREFIX
to a local path in /etc/make.conf .

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list