From owner-freebsd-questions@FreeBSD.ORG Tue May 25 07:40:01 2004 Return-Path: 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 5FDF516A4CF for ; Tue, 25 May 2004 07:40:01 -0700 (PDT) Received: from bimmer.dtmpower.net (bimmer.dtmpower.net [66.250.68.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DEBF43D1F for ; Tue, 25 May 2004 07:40:01 -0700 (PDT) (envelope-from jd@ods.org) Received: from localhost (localhost [127.0.0.1]) by bimmer.dtmpower.net (Postfix) with ESMTP id 24DE55342F for ; Tue, 25 May 2004 10:34:34 -0400 (EDT) Received: from bimmer.dtmpower.net ([127.0.0.1]) by localhost (bimmer.dtmpower.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47659-07 for ; Tue, 25 May 2004 10:34:34 -0400 (EDT) Received: from [66.250.68.108] (unknown [66.250.68.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bimmer.dtmpower.net (Postfix) with ESMTP id F181953189 for ; Tue, 25 May 2004 10:34:33 -0400 (EDT) Date: Tue, 25 May 2004 10:41:25 -0400 From: Jason DiCioccio To: freebsd-questions@freebsd.org Message-ID: X-Mailer: Mulberry/3.1.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at dtmpower.net Subject: Question regarding reported directory sizes. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 14:40:01 -0000 I know this question may seem silly.. However, here's my scenario. I have a very large directory (say, a mail spool) whose directory entry is approx 606K.. drwx------ 5 cyrus cyrus 606208 May 25 10:29 . Now.. That directory had a lot of files in it. However, after deleting all of the files in that directory, the directory entry's size stays the same. I realize this is fairly unimportant, however is there a way to 'garbage collect' that directory entry and all others like it? Thanks! Jason DiCioccio