Is /home used for anything on Mac OS X ever? It's just an empty directory on my machine.
- 8,397
- 5
- 40
- 44
- 1,207
- 1
- 12
- 21
-
1If you are thinking of deleting it, I would suggest against it. – Mitch Dempsey May 18 '10 at 00:56
3 Answers
It's there because the automounter process has been told to put it there.
See /etc/auto_master, the main automounter configuration file, which is likely to contain a line something like the following (10.5):
/home auto_home -nobrowse
or (10.6):
/home auto_home -nobrowse,hidefromfinder
which tells it to look in /etc/auto_home (I'm simplifying for clarity) for entries for /home.
If that had an entry like:
fred -rw,bg server:/Volumes/Users/fred
then accessing /home/fred would cause server:/Volumes/Users/fred to be mounted (with NFS)
You can actually use that to map locally stored directories to there, and although there's no direct integration with OS X's standard use of /Users/username/ it's obviously possible to change where a user's home directory is kept. (Using the Directory Utility.)
- 745
- 3
- 6
I think it's used as a mount point in managed networks. For most people it's not used for anything, but I wouldn't delete it.
- 5,546
- 2
- 23
- 28
-
1That's right. OS X Server (now MacOS Server) can host a user's home folder on the network, and when users log in to any machine "in the domain" that machine will mount the user's home folder under /home so any machine you use has all your files (if they're in your home folder). – Able Mac Jul 05 '19 at 21:18
/Home should be hidden. Do you have Finder set to see hidden files and folders?
Anyway from what I grok from reading the dev docs; /Home is used when sharing your home directory over a network. How, I have no idea. :) A mount point, probably. Personally I think it's a hold over from the base UNIX that Aqua is sitting on. I would not delete it.
- 141
- 3