![]() ![]() ![]() You can have this working for as long as your mac does not crash or reboot. If you move /home to /home.old, and symlink /home, it will remove the symlink /home. If you manage to remove /home, it will reappear after you reboot. I tried this before and got it working for about a week until I rebooted. I don't know how future OS updates will deal with this, though. The intended application appears to be that, if your Mac is connected to a directory service, going to /home/jdoe will cause the automounter to mount jdoe's home directory there.īased on this, it seems logical to conclude that if you don't intend to connect your Mac to a directory service, you're probably okay removing the /home auto-mount as detailed in this comment. If you read up on auto_master at its man page, you'll find that using an executable program for a map results in that program being called to look up a URL to mount, which is in turn mounted in-place. If you take a look at /etc/auto_home, you'll see this line: +/usr/libexec/od_user_homesįollow the trail one more step to the od_user_homes man page, and you'll find a program whose purpose is to take a username, look it up in Open Directory, and return a URL to that user's home directory. If you first type mount in Terminal to show active mounts, you'll see this line: map auto_home on /home (autofs, automounted, nobrowse)Īutofs maps are defined in /etc/auto_master, and /home is in turn defined specifically in /etc/auto_home. I regret this answer is not exactly authoritative, since I've never actually done this myself-though I have used a similar automounter on other Unix systems-but here's my understanding as to what /home is used for on OS X.
0 Comments
Leave a Reply. |