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

hardly any suitcases or shopping trolleys have brakes

you are even more disgusting than before the pandemic, especially you disgusting bloated milky (non-Jap) ones