====== Automount (AutoFS) ======
Some links:\\
[[https://wiki.ubuntuusers.de/Autofs/]]\\
[[https://www.selflinux.org/selflinux/html/autofs02.html]]
===== Service =====
^ Service ^
| service autofs start |
| service autofs stop |
| service autofs status |
| service autofs reload |
| service autofs restart |
===== Config =====
/etc/auto.master:
/mnt /etc/auto.mnt
+auto.master
/etc/auto.mnt:
mountfolder1 -rw,soft server1.local:/myfiles
mountfolder2 -rw,soft,nfsvers=3 server2.local:/somemorefiles
Result:
# ll /mnt
mountfolder1
mountfolder2