Site Tools


linux:ubuntu:automount

Table of Contents

This is an old revision of the document!


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 server2.local:/somemorefiles

Result:

# ll /mnt
mountfolder1
mountfolder2 

linux/ubuntu/automount.1528119313.txt.gz · Last modified: 2018/06/04 15:35 by lunetikk