From owner-freebsd-questions@FreeBSD.ORG Tue Jul 17 16:19:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D73A616A402 for ; Tue, 17 Jul 2007 16:19:47 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from etain.frida.mouhaha.de (etain.frida.mouhaha.de [85.236.48.54]) by mx1.freebsd.org (Postfix) with ESMTP id 96C1D13C494 for ; Tue, 17 Jul 2007 16:19:47 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from localhost (etain.frida.mouhaha.de [85.236.48.54]) by etain.frida.mouhaha.de (Postfix) with ESMTP id 37C2E4B3464; Tue, 17 Jul 2007 17:50:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at mouhaha.de Received: from etain.frida.mouhaha.de ([85.236.48.54]) by localhost (etain.frida.mouhaha.de [85.236.48.54]) (amavisd-new, port 10024) with ESMTP id 4yXAwgEkqGGv; Tue, 17 Jul 2007 17:48:45 +0200 (CEST) Received: by etain.frida.mouhaha.de (Postfix, from userid 1001) id 242934B34A2; Tue, 17 Jul 2007 17:48:45 +0200 (CEST) Date: Tue, 17 Jul 2007 17:48:45 +0200 From: Oliver Peter To: Grant Peel Message-ID: <20070717154844.GJ46587@nemesis.frida.mouhaha.de> References: <004601c7c56f$9d08f480$6501a8c0@GRANT> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45wMVEkw4XUbiYON" Content-Disposition: inline In-Reply-To: <004601c7c56f$9d08f480$6501a8c0@GRANT> X-Operating-System: FreeBSD 6.2-RELEASE-p2 i386 User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-questions@freebsd.org Subject: Re: Ports Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 16:19:47 -0000 --45wMVEkw4XUbiYON Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 13, 2007 at 01:02:36PM -0400, Grant Peel wrote: > Hi all, >=20 > My ports collection on some of the servers is wasting alot of space. >=20 > What would be the best method to 'cleanout' the ports dir without adversl= y affecting the operation of the rest of the server?=20 >=20 > All of the servers are live production servers. You can add the following line to your /etc/make.conf WRKDIRPREFIX=3D/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/* --=20 Oliver PETER, email: hoschi@mouhaha.de, ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." --45wMVEkw4XUbiYON Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iEYEARECAAYFAkac5NwACgkQ6LH/IUVtaI8yzQCgyWyBgJ6YdDYCWVDpOgjjhUmq mY4AoIMZBf9BrjOBanbcxCyna6WYhDOZ =cza+ -----END PGP SIGNATURE----- --45wMVEkw4XUbiYON--