The Filesystem Hierarchy Standard defines: "/home : User home directories (optional)"
FHS goes on to state that "/home is a fairly standard concept, but it is clearly a site-specific filesystem. The setup will differ from host to host. Therefore, no program should rely on this location."
Obviously some systems won't have any users or a /home directory at all. I note that it does not say, "some systems will use /home to mean something else entirely" which is the case by default with OS X 10.5.
Starting with OS X 10.5 we see this:
halle:~ eric$ cat /etc/auto_home# # Automounter map for /home # +auto_home # Use directory service halle:~ eric$
and:
halle:~ eric$ cat /etc/auto_master# # Automounter master map # +auto_master # Use directory service /net -hosts -nobrowse,nosuid /home auto_home -nobrowse /Network/Servers -fstab /- -static halle:~ eric$
Why they chose "/home" and not "/auto_home" I have no idea.
What I did was to
Sure enough, all seems better now. The autohome is there and the /home symlinks to /Users so we don't need to change our scripts.
Cheers!
--Eric Herman
eric@igps.org