Automount nfs4 mac osx
From Asenjo
This info is valid for this mac osx version:
sw_vers ProductName: Mac OS X ProductVersion: 10.6.8 BuildVersion: 10K549
This is the only version I have handy ;-)
to get mac osx to automount an nfsv4 share on a centos 6 server:
- create automount map. I called it /etc/auto_foo:
$ cat /etc/auto_foo * -fstype=nfs,4.0alpha 192.168.0.184:/home/&
- modify /etc/auto_master:
$ cat /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 ## extra maps /nfs4 /etc/auto_foo
- create /nfs4 dir with root:wheel 755 permissions.
- restart automount:
# automount -vc
After that when you access a sub-folder of home under /nfs4/ it will be automounted.