Ports Clean

Oliver Peter hoschi at mouhaha.de
Tue Jul 17 16:19:47 UTC 2007

On Fri, Jul 13, 2007 at 01:02:36PM -0400, Grant Peel wrote:
> Hi all,
> My ports collection on some of the servers is wasting alot of space.
> What would be the best method to 'cleanout' the ports dir without adversly affecting the operation of the rest of the server? 
> All of the servers are live production servers.

You can add the following line to your /etc/make.conf


This will change the workdir of you portstree to /usr/obj/ports.
No working directory will be created under /usr/ports so you can just
clean up your workdirs with the following command:

		rm -rf /usr/obj/ports/*

Oliver PETER, email: hoschi at mouhaha.de, ICQ# 113969174
"Worker bees can leave. Even drones can fly away. The Queen is their slave."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070717/6d2ff3bf/attachment.pgp

More information about the freebsd-questions mailing list