I have an automount in my fstab on my server at work! It is an smb mount, yet it uses Debian which is using systemd.
Brian
On Mon, Oct 02, 2023 at 06:25:00PM -0600, Linus Sphinx wrote:
They seem to have changed the hierarchy of autofs config files or something and it just stopped working for me. Looking for what changed and ran into systemd.mount on stack exchange. Short form: write an entry in /etc/fstab like this: nas:/data/directory /home/me/nas nfs nfsvers=4,nofail,x-systemd.automount 0 0 To activate this entry immediately, you would need two commands: # systemctl daemon-reload # trigger systemd-fstab-generator to re-make *.mount and *.automount units # systemctl start home-me-nas.automount #start the newly created automount unit or just reboot. $ man systemd.mount $ man systemd-fstab-generator Reveal much about units created, still playing with it. The above lines clipped from: https://unix.stackexchange.com/questions/671486/rhel-8-3-autofs-not-mounting... _______________________________________________ Lug-nuts mailing list -- lug-nuts@bigbrie.com To unsubscribe send an email to lug-nuts-leave@bigbrie.com