ext2fs: do directories ever shrink?

Jakob Borg (jb@k2.lund.se)
Fri, 10 Jul 1998 14:56:12 +0200


If a directory is created and filled with, say, 500 files, it will
grow to 6K in size. It will retain this size when all files in it are
unlinked.

Does it ever shrink in size or will it retain it's 6 blocks until
it's unlinked? If so, is this just another form of preallocation, in
case we would that many files again in the same directory?

-- 
Jakob Borg <jb@k2.lund.se>
[Linux narayan 2.1.108 i586]

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu