Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2003 14:38:07 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        michaeld@kestrelworks.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Moving Ports directory
Message-ID:  <20030921043807.GD59397@k7.mavetju>
In-Reply-To: <002a01c37ff9$4880f120$0300a8c0@winfirst.com>
References:  <002a01c37ff9$4880f120$0300a8c0@winfirst.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
  /usr/ports

or

- set the variable PORTSDIR to /mnt/harddisk2/ports and you can
  work from /mnt/harddisk2/ports

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 



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