Enabling the NFS server in Mac OSX


Mac OSX, born as BSD Unix, still has an NFS server included even in the workstation editions.

To enable NFS sharing, follow that very simple procedure:

  1. edit the /etc/exports file (do « man 5 exports » for more info)
  2. run « sudo nfsd update »
  3. check the exported directories with « showmount -e »

And voilà ! That’s it…

Sample /etc/exports:


/Users -alldirs -rw -mapall=501:501
Equivalent « showmount -e » output:
Exports list on localhost:
/Users                              Everyone

Partially based on http://wdtvforum.com/main/index.php?topic=99.0.

Share

,

Les commentaires sont fermés.