Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Linux (http://www.go4expert.com/forums/linux-forum/)
-   -   what does directory's size in Linux mean? (http://www.go4expert.com/forums/directorys-size-linux-mean-t589/)

Prabhu.r.b 15Feb2006 11:40

what does directory's size in Linux mean?
 
hi folks,
i'm new to linux.
directory's size in linux is not equal to total size of files present in it.
Then how is directory's size calculated.

Thanks,
Prabhu

coderzone 15Feb2006 22:15

Re: what does directory's size in Linux mean?
 
In Linux everything is a file. Even an I/O device like monitor is a file and so each folder is a file to hold the files in it. Something like file of file and so it has some storage. My Fedora Core 4 gives each folder size as 4 KB. Probably to store the attributes and security data about the folder.

Prabhu.r.b 16Feb2006 09:38

Re: what does directory's size in Linux mean?
 
thanks for ur reply.


All times are GMT +5.5. The time now is 05:07.