o que significa o primeiro caractere (número) em ls -l no OSX Snow Leopard?

3

Eu incluí um exemplo abreviado de saída ls -lasF do OSX 10.6.7 - a página man para ls não discute o primeiro número (0,8,16,32,48,80,376) por linha que é mostrada nesta saída. (/ links para este diretório no OSX)

mimac:~ frank$ ls -lasF /private/etc
total 1000
   0 drwxr-xr-x  22 root   wheel    4216 May 20 13:41 ./
   0 drwxr-xr-x@  6 root   wheel     204 Dec 15  2009 ../
   8 -rw-r--r--   1 root   wheel      85 Apr 11 23:59 .BroadbandTuner-saved-settings
   0 -rw-r--r--   1 root   wheel     753 Jul 16  2009 6to4.conf
   8 -rw-------   1 root   wheel      24 Apr 14 04:08 AFP.conf
   0 -rw-r--r--   1 root   wheel       0 Dec 15  2009 RemoteManagement.launchd
   0 -rw-r--r--   1 root   wheel     515 Jun 25  2009 afpovertcp.cfg
   8 lrwxr-xr-x   1 root   wheel      15 Dec 15  2009 aliases@ -> postfix/aliases
   0 -rw-r-----   1 root   wheel   16384 May 18  2009 aliases.db
  32 -rw-r--r--   1 root   wheel   31925 May 18  2009 amavisd.conf
...
 80 -rw-r--r--   1 root   wheel   40188 May 20 13:41 authorization
 56 -rw-r--r--   1 root   wheel   24697 Dec 11  2009 authorization~previous
…
 16 -rw-r--r--   1 root   wheel  125811 May 18  2009 moduli
...
 48 -r--r--r--   1 root   wheel   69060 Mar  9 00:49 php.ini.default
 80 -r--r--r--   1 root   wheel   38780 Sep 17  2008 php.ini.default-5.2-previous
...
376 -rw-r--r--   1 root   wheel  677959 Jun 25  2009 services
    
por FrankR 22.05.2011 / 18:56

1 resposta

5

Diretamente da página man:

-s Display the number of file system blocks actually used by each file, in units of 512 bytes, where partial units are rounded up to the next integer value. If the output is to a terminal, a total sum for all the file sizes is output on a line before the listing. The environment variable BLOCKSIZE overrides the unit size of 512 bytes.

    
por 22.05.2011 / 19:05