lkml.org 
[lkml]   [1998]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext2fs: do directories ever shrink?
I remember this same thing in every unix system I've ever written
software on. There may be 'standard' unix filesystems out there that
don't partake of this behaviour...I just never recall seeing one.

D


Jakob Borg wrote:
>
> 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

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d- s++: a C++++$ UL++++B+++S+++C++H++U++V+++$ P+++$ L+++ E-
W+++(--)$ N++ w++$>--- t+ 5++ X+() R+ tv b++++ DI+++ e- h-@
------END GEEK CODE BLOCK------
-
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    [from the cache]
©2003-2011 Jasper Spaans