You are not logged in.
I'm using "x-systemd.automount" option in fstab and if I try to manually mount it says: "Unknown option x-systemd.automount". How is this achieved?
Thanks
Last edited by V01D (2012-09-06 03:05:46)
Offline
/dev/mapper/laptop-home /home ext4 noauto,x-systemd.automount,data=ordered 0 2
/dev/mapper/laptop-backup /mnt/backup ext4 noauto,x-systemd.automount,noatime,users,exec,data=ordered 0 2
user@hostname.homeip.net:/mnt/media /mnt/media fuse.sshfs noauto,x-systemd.automount,users,idmap=user,Port=22,IdentityFile=/home/firecat53/.ssh/id1_rsa,allow_other,reconnect 0 0
You have to do a
systemctl daemon-reload
systemctl restart mnt-media.automount [replace mnt-media with your mountpoint]
after messing around with /etc/fstab to get systemd to pick up the changes. Don't try and mount the folder, just ls <mountpoint> and it should mount automagically.
Scott
Offline
thanks it worked
Offline