Messages in this thread | | | Date | Mon, 13 Jul 1998 17:39:34 +0100 | From | "Stephen C. Tweedie" <> | Subject | Re: ext2fs: do directories ever shrink? |
| |
Hi,
On Fri, 10 Jul 1998 14:56:12 +0200, Jakob Borg <jb@k2.lund.se> said:
> 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?
Right now, directories never shrink. Shrinking will certainly be part of the work to implement b-tree support in ext2fs.
--Stephen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |