Code:
+ cat /etc/fstab | grep /tmp/testmount123
xxx@nas:/public /tmp/testmount123 fuse.sshfs noauto,ro,users,exec,IdentityFile=/home/xxx/.ssh/id_rsa,x-systemd.automount,_netdev,users,uid=1000,gid=1000,idmap=user,allow_other,default_permissions,reconnect 0 0
+ sudo systemctl daemon-reload
+ systemctl list-unit-files --type automount
UNIT FILE STATE VENDOR PRESET
proc-sys-fs-binfmt_misc.automount static enabled
tmp-testmount123.automount generated enabled
2 unit files listed.
+ sudo systemctl restart tmp-testmount123.automount
+ ls /tmp/testmount123
ls: impossibile aprire la directory '/tmp/testmount123': Nessun device corrisponde