From owner-freebsd-questions Sun Dec 2 14:51:30 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 8EB3C37B41A for ; Sun, 2 Dec 2001 14:51:25 -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 fB2MpFx18277; Sun, 2 Dec 2001 23:51:15 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <012f01c17b83$d94c19e0$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "Gary W. Swearingen" Cc: "FreeBSD Questions" References: <008301c17af1$910f4a90$0a00000a@atkielski.com> Subject: Re: How do I find major consumers of disk space on the system? Date: Sun, 2 Dec 2001 23:51:14 +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 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? 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. ----- Original Message ----- From: "Gary W. Swearingen" To: "Anthony Atkielski" Cc: "FreeBSD Questions" Sent: Sunday, December 02, 2001 22:32 Subject: Re: How do I find major consumers of disk space on the system? > I use a script something like this to find big files to delete. > > ## Good arguments: "/dir", "/mount-point -xdev" > find $@ -size +2000 -ls | sort -rn +6 ## size in 512 blocks > #NOTE: "-ls" is MUCH faster than "-exec ls -ld {} \;" > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message