Women in Technology

Hear us Roar



Article:
  An Introduction to Tiger Terminal, Part 2
Subject:   blocks used
Date:   2005-06-17 19:48:14
From:   baltwo
You state:


"Run a long listing with the option -l to get more information:


tiger12:~ norburym$ ls -l /Volumes
total 72
drwxrwxrwx 1 norburym norburym 16384 May 29 13:13 BIG TIKI
drwxrwxrwx 1 norburym norburym 16384 May 29 13:02 DevilDuckie
lrwxr-xr-x 1 root admin 1 May 29 09:51 Untitled -> /
tiger12:~ norburym$
Total 72 gives me the amount of storage in blocks (each block is 1024 bytes) used by all the items in /Volumes."


Are you hiding other things in /Volumes? When I issue ls -al /Volumes, it only shows this:


~ baltwo$ ls -al /Volumes/
total 8
drwxrwxrwt 10 root admin 340 Jun 17 14:50 .
drwxrwxr-t 39 root admin 1360 Jun 17 14:49 ..
drwxr-xr-x 15 baltwo baltwo 544 Jun 8 20:51 DMGs
drwxr-xr-x 27 baltwo baltwo 952 Jun 8 20:51 Documents
drwxr-xr-x 31 baltwo baltwo 1088 Jun 8 20:51 OS 9 Panther
drwxr-xr-x 32 baltwo baltwo 1122 Jun 8 20:51 OS 9 Tiger
drwxrwxr-t 44 root admin 1530 Jun 8 20:51 Panther
drwxrwxr-t 40 root admin 1394 Jun 10 20:10 Panther Clone
drwxrwxr-t 41 root admin 1428 Jun 15 20:25 Tiger
lrwxr-xr-x 1 root admin 1 Jun 17 14:50 Tiger Clone -> /
localhost:~ baltwo$


I.e., the count is 8, which reflects the eight volumes resident within /Volumes.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • blocks used
    2005-06-23 10:37:22  norburym [View]

    Actually, the count of 8 that you see is not the number of volumes (this is coincidence) but the sum of all the file sizes (at the end of the part you quoted from the article, I wrote: "Total 72 gives me the amount of storage in blocks (each block is 1024 bytes) used by all the items in /Volumes.").
    If you total the sizes of your volumes (not hidden), you'll get 8.