moving ports to another file system

Dan Nelson dnelson at allantgroup.com
Sun Nov 28 22:03:53 PST 2004


In the last episode (Nov 28), Kevin Smith said:
> After installation and setting up of my BSD system for a while, I've
> come to realize that I probably should have organized my disk a bit
> differently and I have a smaller root file system then I would have
> liked. I may have also created a separate /usr file system, but I
> have /usr in the root file system.
> 
> 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).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list