Re: Directory size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vidol Loeung kirjoitti viestissään (lähetysaika perjantai, 27. 
toukokuuta 2005 13:10):
> Just wonder why the size of a new, blank directory is 4096
> bytes. Could someone explain?

Ext2/ext3 filesystem allocates space in 4K chunks by default. Any 
non-empty file takes at least that much space. A "blank" 
directory contains entries for "." and "..", so it doesn't fit 
in 0 bytes and must take 4096 bytes.

-- 
 Markku Kolkka
 markku.kolkka@xxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux