lkml.org 
[lkml]   [1998]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.064 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site