Changing location of ports tree

Moffatt, Chris cmoffatt at ilanw.com
Sun Nov 6 21:13:45 GMT 2005


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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of ross
Sent: Sunday, November 06, 2005 1:53 PM
To: freebsd-questions at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list