Moving Ports directory
edwin at mavetju.org
Sat Sep 20 21:38:13 PDT 2003
On Sat, Sep 20, 2003 at 09:31:52PM -0700, Michael Dunham wrote:
> I'm using FreeBSD Current on an older machine. I have two hard disks
> attached, one 3gb and one 2gb. I have put the root on the 3gb drive but it
> is now about 80% full. I would like to move the Ports directory to the 2gb
> drive so I can run a new kernel build.
> What are the steps to move the /usr/ports directory to the other drive?
You can do to things:
- symlink /mnt/harddisk2/ports to /usr/ports and you can work from
- set the variable PORTSDIR to /mnt/harddisk2/ports and you can
work from /mnt/harddisk2/ports
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php
More information about the freebsd-ports