We are needing to set static NFS mounts on a beefed-up OS X Lion system. Seems simple enough, assuming a Unix environment.
What I see happening is after I "vifs" and set entries in the fstab... I can mount them, but if I unmount them the automounter happily remounts them. That is obviously not the desired behavior.
I suspect it might have to do with the default options in /etc/auto_master:
I have read through the manpage, but I can't make sense of this. I wonder it the mount process is dependent on the automounter at boot time. The manapage states:
I created a mount point that is *separate* from anything the system uses, in this case "/mnt".
It's a big problem and I need to fix this. I'm puzzled.
Thanks in advance....
What I see happening is after I "vifs" and set entries in the fstab... I can mount them, but if I unmount them the automounter happily remounts them. That is obviously not the desired behavior.
I suspect it might have to do with the default options in /etc/auto_master:
#
# Automounter master map
#
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
I have read through the manpage, but I can't make sense of this. I wonder it the mount process is dependent on the automounter at boot time. The manapage states:
-static This map is a direct map, so the mount point must be specified as /-. The contents
are generated from all entries in fstab(5) data (as provided by getfsent(3)) that do
not have the net option. An fstab(5) entry of the form
server:/path mountpoint fstype options rw 0 0
will generate a direct map entry of the form
mountpoint options server:/path
I created a mount point that is *separate* from anything the system uses, in this case "/mnt".
It's a big problem and I need to fix this. I'm puzzled.
Thanks in advance....