How to Use NFS URLs With Autofs

  1. Become an administrator.
  2. Create the following entry in the autofs map.
    /usr/local     -ro    nfs://server-name/export/share/local

    The service tries to use the public file handle on the NFS server. However, if the server does not support a public file handle, the MOUNT protocol is used.