Site Tools


linux:ubuntu:automount

Table of Contents

Automount (AutoFS)

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 

linux/ubuntu/automount.txt · Last modified: 2018/12/21 14:28 by lunetikk