View Full Version : OSX Lion, NFS and the automounter, help...

Feb 17, 2012, 10:59 AM
I want to place some static NFS entries in the fstab, via vifs, in a non-system location (like /mnt). But it seems that automounter grabs hold of those and remounts them after I manually umount them, which is not what I want.

I need mounts that the automounter isn't going to use, the fstab will be managed otherwise (config management).

I looked through the manpage and didn't see anything obvious about options to avoid this, which leads me to believe that somehow the automounter is "different" in OS X (as opposed to Linux). Is this just the way it is with the OS, or is there some clever way to get around it. Does it have something to do with the autofs configs in /etc?

The /etc/auto_master has:

# Automounter master map
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static

We don't want to go through the GUI or anything that is OS X dependent, just a plain and simple fstab mount will do.

Can someone advise on what's going on here and whether there is a way around this?

Thanks in advance...