From owner-freebsd-questions Tue Nov 5 15:39:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B87E937B401 for ; Tue, 5 Nov 2002 15:39:56 -0800 (PST) Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FAB943E75 for ; Tue, 5 Nov 2002 15:39:55 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.177.83]) by tomts7-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021105233954.KLUD12128.tomts7-srv.bellnexxia.net@xena.gsicomp.on.ca>; Tue, 5 Nov 2002 18:39:54 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id gA5Nhep35719; Tue, 5 Nov 2002 18:43:41 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <00ea01c28524$a40b3530$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "I am Insane" , References: <3DC8558D.2030304@iaminsane.net> Subject: Re: Cleaning up /] Date: Tue, 5 Nov 2002 18:39:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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 > I need some help. I'm not a complete newbie but I'm new enough to not > know which files are actually needed in my / filesystem. > > my current df -k shows > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 100750 82898 9792 89% / > /dev/ad0s1g 10080382 766404 8507548 8% /usr > /dev/ad0s1h 15421366 26432 14161226 0% /usr/home > /dev/ad0s1e 201518 3332 182066 2% /var > /dev/ad0s1f 2015918 144 1854502 0% /var/mail > procfs 4 4 0 100% /proc > > and I am aware that if / gets to 100% the system has a good chance of > crashing. > > how can I tell what files can be removed in order to free up some space? In a properly-configured system, the files in / shouldn't change (nor should new files be added), so / should should stay at 89% used indefinitely. By default, user home directories are in /usr/home (which has lots of free space), and system logs and mail are in /var (which also has lots of space.) > and/or how can i tell which files are the largest and need to be addressed? I wouldn't delete any files from / unless you're 110% sure that they're not needed. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message