Mount NFS share in /Volumes as a drive

autofsfindernfs

Ok, this might be a stupid question to ask, but trying to mount a NFS share (from a Linux machine, if it's worth anything) in a folder that resides in /Volumes never makes the share appear in Finder (not in Volumes anyway).

The folder was made by simply sudo mkdir /Volumes/folder_name and the mount was made using autofs like this:

/Volumes/folder_name    auto_nfs      -nolock,locallocks,rdirplus

I should mention the folder is accessible though the terminal, but it just doesn't show in Finder.

On the other hand, if I modify /etc/auto_master to this:

/Volumes  auto_nfs      -nolock,locallocks,rdirplus

the folder appears, but I loose all my other drives (except the system one and Network)

At the moment, I'm mounting to a regular folder on the system drive which I've symlinked to a folder in /Volumes. Oddly, that works fine, but it does appear as a symlink and it bothers me (and possibly other users).

Best Answer

There is a boring, technical explanation (which I cannot find right now) for this behavior . I worked around it by adding /Volumes to the Favorites section in the Finder's sidebar

enter image description here