Total in ls -la
Fajar Priyanto
fajarpri at arinet.org
Tue Nov 7 02:11:16 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061107/216941af/attachment-0001.sig>
More information about the fedora-list
mailing list