From owner-freebsd-questions Thu Oct 18 8:25:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id DFADE37B401 for ; Thu, 18 Oct 2001 08:25:23 -0700 (PDT) Received: from pc2-card3-0-cust79.cdf.cable.ntl.com ([213.107.2.79] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 15uF2s-0001ZC-00; Thu, 18 Oct 2001 16:25:18 +0100 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1) id 15uF2l-000GQB-00; Thu, 18 Oct 2001 16:25:11 +0100 Date: Thu, 18 Oct 2001 16:25:11 +0100 From: setantae To: Sheldon Hearn Cc: freebsd-questions@FreeBSD.org Subject: Re: Directory entries won't shrink Message-ID: <20011018162511.A63087@rhadamanth> Mail-Followup-To: setantae , Sheldon Hearn , freebsd-questions@FreeBSD.org References: <30988.1003417318@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <30988.1003417318@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Thu, Oct 18, 2001 at 05:01:58PM +0200 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 On Thu, Oct 18, 2001 at 05:01:58PM +0200, Sheldon Hearn wrote: Hi Sheldon, > How do I force the size of a directory to be recalculated? I've got a > 16MB directory that used to contain half a million files. It now > contains only 64 files and should have a size of 512, but it hasn't > shrunk. I've previously been led to be believe that the only way to do this is to recreate the directory, and that directories never shrink on their own. I'd be interested to hear if this is true from anyone who knows for sure though. Ceri -- keep a mild groove on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message