From owner-freebsd-questions Thu Oct 28 17: 2: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.on.home.com (ha1.rdc2.on.home.com [24.9.0.15]) by hub.freebsd.org (Postfix) with ESMTP id 3469B14C1C for ; Thu, 28 Oct 1999 17:02:03 -0700 (PDT) (envelope-from street@iname.com) Received: from mired.eh.local ([24.64.136.188]) by mail.rdc2.on.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <19991029000203.CRPL3040.mail.rdc2.on.home.com@mired.eh.local>; Thu, 28 Oct 1999 17:02:03 -0700 Received: (from kws@localhost) by mired.eh.local (8.9.3/8.9.3) id UAA00782; Thu, 28 Oct 1999 20:02:02 -0400 (EDT) (envelope-from kws) To: "David Kurtzberg" Cc: Subject: Re: changing ports install hard drive References: <000001bf2190$5c2e2b00$e752c2d0@david.cql.com> From: Kevin Street Date: 28 Oct 1999 20:02:02 -0400 In-Reply-To: "David Kurtzberg"'s message of "Thu, 28 Oct 1999 15:04:09 -0700" Message-ID: <87bt9jqbk5.fsf@mired.eh.local> Lines: 25 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Biscayne" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "David Kurtzberg" writes: > I recently added a scsi hard drive to my freebsd box and mounted it under > /usr2. I would like the programs that ports installed to be installed on > that drive, instead of /usr. How do I set this up? The easiest thing to do is probably to move all of /usr/local and /usr/X11R6 onto your new drive. Then create symlinks in /usr to point to them. # cd /usr # mv local /usr2 # ln -s /usr2/local local and the same for /usr/X11R6. The mv will run for a while. You might consider taking a backup before you do this. You probably don't want to be running X or a shell that you've installed in /usr/local/bin while you're moving them (ie. go to single user first). -- Kevin Street street@iname.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message