Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

forrie

macrumors regular
Original poster
Mar 6, 2008
161
134
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...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.