From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 18:14:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B97C716A403 for ; Mon, 27 Nov 2006 18:14:27 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from hyperion.scode.org (hyperion.scode.org [85.17.42.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C43443F40 for ; Mon, 27 Nov 2006 17:42:50 +0000 (GMT) (envelope-from peter.schuller@infidyne.com) Received: from localhost (www.scode.org [85.17.42.115]) by hyperion.scode.org (Postfix) with ESMTP id 6384F2394AA; Mon, 27 Nov 2006 18:43:45 +0100 (CET) From: Peter Schuller To: Dan Nelson Date: Mon, 27 Nov 2006 19:43:51 +0100 User-Agent: KMail/1.9.4 References: <200611270131.44366.peter.schuller@infidyne.com> <20061127020422.GH29363@dan.emsphone.com> In-Reply-To: <20061127020422.GH29363@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611271943.52147.peter.schuller@infidyne.com> Cc: freebsd-questions@freebsd.org Subject: Re: Empty directory 60M in size; used to contain 1.7 million files 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, 27 Nov 2006 18:14:27 -0000 > Directories are only shrunk when a file is created and the slack > directory space can be trivially truncated. This is to avoid useless > compaction during "rm -rf"-style activities of a directory that will > just be deleted anyway. Just create a dummy file with "touch" and the > directory will shrink down to 1 block. You can then remove the file. Thanks, that explaints it. And it did work. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org