Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2005 14:13:27 -0700
From:      "Moffatt, Chris" <cmoffatt@ilanw.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Changing location of ports tree
Message-ID:  <!&!AAAAAAAAAAAuAAAAAAAAAMlhQg4w2tRPm6AzBpR1myEBAEnUYfcg5UhEhlr/jyTqQmAAAAAgAfoAABAAAACujjZpyaxTQ4duV3/ulSN5AQAAAAA=@ilanw.com>
In-Reply-To: <op.szt6yux7w0tva9@ross.inet>

next in thread | previous in thread | raw e-mail | index | archive | help
The easiest way to change it would be to move the ports folder from /usr to
where ever you are moving it...  Then create a symbolic link...
 
ln -s /somewhere/ports /usr/ports
 
Then everything should work as is...

  _____  

From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of ross
Sent: Sunday, November 06, 2005 1:53 PM
To: freebsd-questions@freebsd.org
Subject: Changing location of ports tree



My /usr partition is to small for some of the larger programs 
(openoffice.org, jdk, etc) and I want to move my ports tree to a harddrive 
with more space. can I just change the line in
/usr/local/etc/pkgtools.conf that says "ENV['PORTSDIR'] ||= '/usr/ports'" 
to "ENV['PORTSDIR'] ||= '/mybigfatharddrive/ports'"?

Will all the pkg tools such as portsnap, portupgrade, and portversion 
continue to function properly? will I have to edit any other config files 
before this will work seemlessly?
--
What time is it?

Dodgeball Time!
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!&!AAAAAAAAAAAuAAAAAAAAAMlhQg4w2tRPm6AzBpR1myEBAEnUYfcg5UhEhlr/jyTqQmAAAAAgAfoAABAAAACujjZpyaxTQ4duV3/ulSN5AQAAAAA=>