1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

what does directory's size in Linux mean?

Discussion in 'Linux' started by Prabhu.r.b, Feb 15, 2006.

  1. Prabhu.r.b

    Prabhu.r.b New Member

    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
     
  2. coderzone

    coderzone Super Moderator

    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.
     
  3. Prabhu.r.b

    Prabhu.r.b New Member

    thanks for ur reply.
     

Share This Page