From owner-freebsd-questions Sun Dec 2 18:22:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.atkielski.com (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by hub.freebsd.org (Postfix) with ESMTP id 2FBC337B41D for ; Sun, 2 Dec 2001 18:22:23 -0800 (PST) Received: from contactdish (win.atkielski.com [10.0.0.10]) by freebie.atkielski.com (8.11.3/8.11.3) with SMTP id fB32MAx76946; Mon, 3 Dec 2001 03:22:10 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <016b01c17ba1$504b0750$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "Walter Hop" Cc: "Gary W. Swearingen" , "FreeBSD Questions" References: Subject: Re: How do I find major consumers of disk space on the system? Date: Mon, 3 Dec 2001 03:22:10 +0100 Organization: Anthony's Home Page (development site) MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 Well, the "make clean" churned for a very long time and appeared to work okay, but I still have 1.2 GB tied up somewhere. It must be in source files or something. At least I cleaned it up a little bit. ----- Original Message ----- From: "Walter Hop" To: "Anthony Atkielski" Cc: "Gary W. Swearingen" ; "FreeBSD Questions" Sent: Monday, December 03, 2001 00:00 Subject: Re: How do I find major consumers of disk space on the system? > [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