moving ports to another file system

Dan Nelson dnelson at allantgroup.com
Mon Nov 29 10:09:06 PST 2004


In the last episode (Nov 29), Vulpes Velox said:
> On Mon, 29 Nov 2004 00:03:33 -0600 Dan Nelson <dnelson at allantgroup.com> wrote:
> > In the last episode (Nov 28), Kevin Smith said:
> > > The /usr/ports can take up a lot of space and I'm wondering if
> > > there are limitations to having ports live in a another files
> > > system with a symbolic link from /usr/ports to a ports directory
> > > in another file system.
> > 
> > No limitations at all.  You can even symlink it over NFS to another
> > machine if you want (set WRKDIRPREFIX to a local path in
> > /etc/make.conf though, to speed up builds).
> 
> If one is going to be using NFS for it, I don't see any reason not to
> just mount it right to /usr/ports instead of messing with symbolic
> linking.

The symlink lets amd do the work of mounting the filesystem, that's all.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list