[plug] directory size listing

Anthony Wilson amwilson at iinet.net.au
Sun May 23 00:35:42 WST 2004


On Sat, May 22, 2004 at 11:50:33PM +0800, Rennie wrote:
> "ls -la" was listing each directory as being 4.0K no matter what was in it. Is 
> this just a Rieser thing or is that the same for all file systems?

I believe this is because of block sizes?  On a system with a 4.0k block
size you will have one block (ie 4k) preallocated for each directory's
metadata.  For directories with many entries you should see sizes in
multiples of 4k.



More information about the plug mailing list