From owner-freebsd-ports@FreeBSD.ORG Sat Sep 20 21:38:13 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50AD816A4B3 for ; Sat, 20 Sep 2003 21:38:13 -0700 (PDT) Received: from mag.barnet.com.au (mag.barnet.com.au [218.185.88.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id E28C343FD7 for ; Sat, 20 Sep 2003 21:38:11 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from extmail.barnet.com.au (tim.direct.int.barnet.com.au [10.10.10.2]) by mag.barnet.com.au (Postfix) with ESMTP id 9AADD14ED; Sun, 21 Sep 2003 14:38:09 +1000 (EST) X-Viruscan-Id: <3F6D2B310000022B019D73DB@VIRUSCAN-127.0.0.1> Received: from k7.mavetju (tim.barnet.com.au [218.185.88.1]) by extmail.barnet.com.au (Postfix) with ESMTP id 6CF2F1E0B; Sun, 21 Sep 2003 14:38:08 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 13AB06A7101; Sun, 21 Sep 2003 14:38:07 +1000 (EST) Date: Sun, 21 Sep 2003 14:38:07 +1000 From: Edwin Groothuis To: michaeld@kestrelworks.com Message-ID: <20030921043807.GD59397@k7.mavetju> References: <002a01c37ff9$4880f120$0300a8c0@winfirst.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002a01c37ff9$4880f120$0300a8c0@winfirst.com> User-Agent: Mutt/1.4.1i cc: freebsd-ports@freebsd.org Subject: Re: Moving Ports directory X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2003 04:38:13 -0000 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