MacOS – Does anyone have any tips or best practices for using NFS mounted directories

macosmountnfs

Does anyone have tips for conveniently dealing with a variety of NFS mounted directories in Mac OS X?

When I drag them to the sidebar in finder they can't be renamed.

When I mounted them using "connect to server" they get mounted under /Volumes.
Alternatively I can access them using /net/host/export and they will get automatically mounted.

But there doesn't seem to be any way to visit a /net/host/export directory using the finder GUI. Although it seems I can use "open" from the command line to visit it and then drag it to the side bar.

So anyway. Any "best practices" out there?


I seem to have a choice to drag either /net paths to the side bar or to drag /Volume paths to the side bar. The finder seems to implement the auto-mount functionality when I click on /Volume-based sidebar links.

I could also create symlinks to /net paths and use those symlinks.

One of the core problems I have is that the /net paths (and the /Volume paths) are long and unfriendly. I'm looking for a way to "manage" these in a way that lets me use shortcuts or aliases of some kind.


I'm still collecting tips. When I get more, I'll come back here and rewrite this.
Basically /net paths are treated by the finder as local directories. In some ways it treats them as local (must use 'Goto' to open them) and in some ways it knows they are special (they don't show up in the "Mac HD" location).

If you have any other tips, please add them.

Best Answer

In Finder press:

  • ++G to go to a directory. Since the automounting of /net is handled by the operating system (via Autofs, see the technical white paper) it will mount the share.

  • +K to open the Connections window, where you can even save your commonly accessed locations.

(see the Go menu)

But I don't think you can rename connections.