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

         WRKDIRPREFIX=/usr/obj/ports

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: [EMAIL PROTECTED], ICQ# 113969174
"Worker bees can leave. Even drones can fly away. The Queen is their slave."

Attachment: pgpX7SK8IwzWp.pgp
Description: PGP signature

Reply via email to