From owner-freebsd-questions Sun Dec 2 15: 0:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from surreal.nl (surreal.nl [212.204.236.10]) by hub.freebsd.org (Postfix) with ESMTP id 6023837B41B for ; Sun, 2 Dec 2001 15:00:39 -0800 (PST) Received: by surreal.nl (Postfix, from userid 1000) id DE90B7FED1; Mon, 3 Dec 2001 00:00:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by surreal.nl (Postfix) with ESMTP id DD19487ACC; Mon, 3 Dec 2001 00:00:39 +0100 (CET) Date: Mon, 3 Dec 2001 00:00:39 +0100 (CET) From: Walter Hop To: Anthony Atkielski Cc: "Gary W. Swearingen" , FreeBSD Questions Subject: Re: How do I find major consumers of disk space on the system? In-Reply-To: <012f01c17b83$d94c19e0$0a00000a@atkielski.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [in reply to Anthony Atkielski , 02/12/01] > Pretty cool! I tried it out and it works well. Looks like most of > the space in /usr is taken up by ports, particularly a port called > teTeX, which occupies 33 MB alone. What is it? Files in /usr/ports/distfiles were (temporary) files downloaded during previous ports installations; if I am correct you can safely delete them. If you want your /usr/ports dir totally neatly cleaned, you can go into /usr/ports and issue a ``make clean'', which will clean up all the mess that installations left around in /usr/ports. (This will not affect the installed programs, only the temp- and working dirs in /usr/ports) > Is there a clean way to delete ports that I don't intend to install, > and then download them if I ever do decide to put them in? Ports only don't cost much space. It's just the distfiles and the workfiles, a ``make clean'' will solve those problems. If you really want to delete an installed port from your system, ``pkg_delete name'' will do the trick. To see a list of port/package names that are present, you can do a ``pkg_info''. (I believe this will not clean up distfiles!) -- Walter Hop Updated contact information: http://www.binity.com/~walter/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message