Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 19:43:51 +0100
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Empty directory 60M in size; used to contain 1.7 million files
Message-ID:  <200611271943.52147.peter.schuller@infidyne.com>
In-Reply-To: <20061127020422.GH29363@dan.emsphone.com>
References:  <200611270131.44366.peter.schuller@infidyne.com> <20061127020422.GH29363@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611271943.52147.peter.schuller>