I'm struggling to get automount to work as desired.
If I run the following:
sudo mount -t nfs server:/path/to/share /path/to/mount_point
I get the mount appearing fine.
However, if I add the following line to my
it creates the mount point directory but the contents aren't visible.
When I observe the output of the
mount command, they are different:
Using the first (manual mount) approach the following entry is returned by
server:/path/to/share on /path/to/mount_point (nfs)
automountI get the following entry returned by
map server:/path/to/share on /path/to/mount_point (autofs, automounted, nobrowse)
I assumed that by default,
automount mounts via NFS and is equivalent to the manual mount.
What is the correct way to use
automount to acheive the behaviour of the (correctly working) manual mount?
The share is hosted on a Linux NIS domain and I am accessing from a Mac (BSD Unix).