From owner-freebsd-questions Thu Oct 18 9: 2:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id C63C037B405 for ; Thu, 18 Oct 2001 09:02:48 -0700 (PDT) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 15uFdi-000FxX-00; Thu, 18 Oct 2001 18:03:22 +0200 From: Sheldon Hearn To: Dan Nelson Cc: setantae , freebsd-questions@FreeBSD.ORG Subject: Re: Directory entries won't shrink In-reply-to: Your message of "Thu, 18 Oct 2001 10:56:56 EST." <20011018105656.B97943@dan.emsphone.com> Date: Thu, 18 Oct 2001 18:03:22 +0200 Message-ID: <61350.1003421002@axl.seasidesoftware.co.za> 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, 18 Oct 2001 10:56:56 EST, Dan Nelson wrote: > > Okay, so if this is a split spool directory for an MTA, I'm screwed. :-) > > Just wait for the files to get delivered (or bounce) and the directory > will shrink. What makes you say that? The directory is /var/spool/exim-mailman/input It contains 64 entries (excluding . and ..), each being the name of another directory. Touching a file in this directory iand then syncing does not cause it to shrink. Which makes sense, since you said the directory will never shrink if the last block is occupied by a used entry. So to shrink this directory, I have to shut down the entire mail system, move the 64 entries into a new directory and replace the existing directory with the new one. This comes as quite a surprise. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message