minimal automounter config for linux

note: superceded by https://wibblement.blogspot.com/2023/07/autofs-mounting-local-filesystems-by.html

Install package autofs (debian).  Sadly, installing it also presumes to enable and start the service.

In /etc/auto.master:

/- auto.direct

rationale: The dash signifies a "direct" mount, meaning the one like you want, which transparently (if things are working) makes things appear at paths, rather than the other type, which visibly involves symlinks.

And then in /etc/auto.direct:

/wibble nfs-server.example.org:/srv/wibble

and so on.

Comments

Popular posts from this blog

the persistent idiocy of "privileged ports" on Unix

difference between timezone and offset

the state of clock synchronization and setting in debian