From owner-freebsd-questions Sun Dec 2 16:40:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id ABF5937B417 for ; Sun, 2 Dec 2001 16:40:07 -0800 (PST) Received: from lungfish.ntlworld.com ([62.253.148.118]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20011203004005.DDWP27606.mta05-svc.ntlworld.com@lungfish.ntlworld.com>; Mon, 3 Dec 2001 00:40:05 +0000 Received: from boog.goatsucker.org (boog.goatsucker.org [192.168.1.3]) by lungfish.ntlworld.com (8.11.3/8.11.3) with ESMTP id fB30dkn44587; Mon, 3 Dec 2001 00:39:46 GMT (envelope-from scott@boog.goatsucker.org) Received: (from scott@localhost) by boog.goatsucker.org (8.9.3/8.9.3) id AAA24586; Mon, 3 Dec 2001 00:39:10 GMT (envelope-from scott) Date: Mon, 3 Dec 2001 00:39:09 +0000 From: Scott Mitchell To: Anthony Atkielski Cc: "Gary W. Swearingen" , FreeBSD Questions Subject: Re: How do I find major consumers of disk space on the system? Message-ID: <20011203003909.C393@localhost> References: <008301c17af1$910f4a90$0a00000a@atkielski.com> <012f01c17b83$d94c19e0$0a00000a@atkielski.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <012f01c17b83$d94c19e0$0a00000a@atkielski.com>; from anthony@freebie.atkielski.com on Sun, Dec 02, 2001 at 11:51:14PM +0100 X-Operating-System: FreeBSD 4.1-RELEASE i386 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 On Sun, Dec 02, 2001 at 11:51:14PM +0100, Anthony Atkielski wrote: > 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? It's a TeX distribution, quite a good one. TeX is a typesetting system, if you haven't come across it before. Either you installed the port or, more likely, it was installed as a dependency of some other port or package. There should be a file /var/db/pkg/tetex-[version]/+REQUIRED_BY that lists the packages that depend on the teTeX package. > 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? Or maybe load > them back off the CD, in cases where I don't need the latest and > greatest. The big files are mostly in /usr/ports/distfiles. Not that I > need the space _right now_, but I like to keep the system tidy. By 'ports' I assume you mean the stuff in /usr/ports rather than the installed files resulting from building a port. A fresh /usr/ports consumes an insignificant fraction of any modern disk, so I'd be inclined to leave it alone; however, you can always pull a new one with cvsup or unpack it from your CD set (I think the file you want is ports.tgz). However, anything in /usr/ports/distfiles can safely be blown away -- these are leftovers from ports that have been built already. If you want to stop these from accumulating in the first place, do a 'make distclean' after the 'make install' step for any ports that you build. 'man ports' for more info on the various targets that the ports Makefiles understand. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message