I would like to mirror the directory structure that I have on my linux machine at work. There, my home directory resides in /home/emiller
rather than /Users/emiller
as it does on Snow Leopard.
I was intending to create /home/emiller
and use it as a sshfs mount point for my files on the linux machine – thus permitting to me run all my scripts without having to change any paths.
However, when I try to mkdir /home/emiller
, I get:
mkdir: /home/emiller: Operation not supported
Why is this? What is the function of /home
? It appears empty of all files.
~emiller
Best Answer
It's got an NFS automounter map mounted on it, so NFS home directories will be automatically available there. Quoting
man auto_master
:The default
auto_home
on SL expects to get the home directory-to-machine mapping from NIS or LDAP, but you can add entries manually.You can remove the
auto_home
line from/etc/auto_master
andsudo killall automountd
(which should causelaunchd
to rerun it with the new map) or reboot. Alternately, add yoursshfs
mount to/etc/auto_home
(and again restartautomountd
or reboot).