Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Operating System (http://www.mac-forums.com/forums/os-x-operating-system/)
-   -   HELP: Automounter and NFS mounts problems (http://www.mac-forums.com/forums/os-x-operating-system/267104-help-automounter-nfs-mounts-problems.html)

forrie 02-19-2012 07:20 PM

HELP: Automounter and NFS mounts problems
 
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:

Quote:

#
# 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:

Quote:

-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....


All times are GMT -4. The time now is 01:17 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.