[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 8.1 ext4 directory sizes

On Ter, 10 Nov 2015, Thomas Schmitt wrote:
i am riddling about the size of directories in Jessie's ext4,
as listed with ls -ld. They always grow and never shrink, even
if they become completely empty.

Is this a known property of ext4 directories ?

Yes, and also of its predecessors ext2 and ext3.

If so: Are there other means to shrink them except rmdir ?

There's the -D option for fsck that optimizes directories, this should make them return to the smallest size, but the filesystem must be unmounted.

Reply to: