Re: Total in ls -la

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

 



On Monday 06 November 2006 13:22, Tim wrote:
> Looking at a reference to the man file for ls, that DID NOT come from
> FC, I see the following information:
>
>         For each directory that is listed, preface the files with a line
>         `total blocks', where blocks is the total disk allocation for
>         all files in that directory. The block size currently defaults
>         to 1024 bytes, but this can be overridden (see section 2.2 Block
>         size). The blocks computed counts each hard link separately;
>         this is arguably a deficiency.
>
> <http://www.gnu.org/software/coreutils/manual/html_chapter/coreutils_10.htm
>l>
Hello Tim,
Thank you very much for pointing me to the right direction. It took me a while 
to absorb it. After further observation:
- Each directory entry takes 4 blocks (depends on filesystem formatting).
- The 'total' also counts for space taken by files, thus it also means the 
disk usage.
CMIIW,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
9:07am up 0:59, 2.6.16.13-4-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Attachment: pgpecKHsL4lZt.pgp
Description: PGP signature


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

  Powered by Linux