Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:nfs [2015/09/30 03:40] – [Void Linux client] darrontools:nfs [2017/01/11 16:33] (current) – [autofs] darron
Line 1: Line 1:
 ==== NFS ==== ==== NFS ====
 +
 +Network file system allows us to share files over the network.
  
 === Debian server === === Debian server ===
Line 23: Line 25:
 </code> </code>
  
-=== Raspbian client ===+=== Debian client ===
 <code> <code>
 apt-get install rpcbind nfs-common apt-get install rpcbind nfs-common
Line 55: Line 57:
 mount $SERVERADDRESS:/embedded mount $SERVERADDRESS:/embedded
 </code> </code>
 +
 +=== Debian autofs ===
 +
 +One you have an NFS client working you can remove the entry in fstab and use autofs to mount it instead.
 +
 +<code>
 +apt-get install autofs
 +echo "/- /etc/auto.data" >> /etc/auto.master
 +echo "/embedded -fstype=nfs $SERVERADDRESS:/embedded" >> /etc/auto.data
 +/etc/init.d/autofs restart
 +</code>
 +