From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 21:00:51 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5523316A41F for ; Mon, 26 Sep 2005 21:00:51 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD10C43D76 for ; Mon, 26 Sep 2005 21:00:43 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 9CB9ECD1294 for ; Mon, 26 Sep 2005 17:00:41 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Mon, 26 Sep 2005 17:00:41 -0400 X-Sasl-enc: U2ptIDAgj+4XsQphp3ulxSJ7N9ufuzFiuT0gahy2AXb1 1127768440 Received: from gumby.localdomain (dsl-80-41-70-103.access.as9105.com [80.41.70.103]) by frontend2.messagingengine.com (Postfix) with ESMTP id 92C7A570360 for ; Mon, 26 Sep 2005 17:00:40 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Mon, 26 Sep 2005 22:00:40 +0100 User-Agent: KMail/1.8.2 References: <433850FD.3070403@gish.demon.nl> In-Reply-To: <433850FD.3070403@gish.demon.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509262200.40769.list-freebsd-2004@morbius.sent.com> Subject: Re: Cleanup unused files and other junk ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 21:00:51 -0000 On Monday 26 September 2005 20:50, Kiffin Gish wrote: > Is there a good and dependable procedure for cleaning up the file > systems from unused junk that just clutters valuable disc space? > > I am already aware of the 'periodic daily' scripts > 'clear_tmp_enable=YES' option for the rc.conf file, but where else can > one safely remove files. > > For example, is it safe to delete all distfiles? Deleting *all* distfiles is a bad idea if you plan on keeping your ports up to date; the majority of port updates involve applying patches to the same source files. portupgrade comes with a utility called portsclean that will clean out unneccessary files from the port system.