Explaining odd entries in 'df' output

Jan 29, '10 07:30:00AM

Contributed by: robg

The other day I was using df -h to check disk space usage, and was surprised to see some odd entries in the output:

$ cd /Volumes
$ df -h
...
/dev/disk2s3    75Gi   51Gi   24Gi    69%    /Volumes/datafiles
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
...
I had no idea what the map entries were there for; they don't show if you simply do ls /Volumes. After inquiring around, a friend managed to find the answer for me: they're related to the autofs feature in 10.5 and 10.6. You can read all about it, if you care, in this Apple PDF. I was more curious than alarmed, as I hadn't remembered seeing those entries before (I don't use df -h folder all that often).

Comments (12)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20100129064205981