Skip site navigation (1)Skip section navigation (2)
Date:      28 Oct 1999 20:02:02 -0400
From:      Kevin Street <street@iname.com>
To:        "David Kurtzberg" <david@cql.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: changing ports install hard drive
Message-ID:  <87bt9jqbk5.fsf@mired.eh.local>
In-Reply-To: "David Kurtzberg"'s message of "Thu, 28 Oct 1999 15:04:09 -0700"
References:  <000001bf2190$5c2e2b00$e752c2d0@david.cql.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
"David Kurtzberg" <david@cql.com> 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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?87bt9jqbk5.fsf>