You are not logged in.

#1 2012-09-06 06:49:25

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

[SOLVED, but why?] Doesn't Systemd automount davfs filesystems?

I've had no problems using systemd automount feature, it works with ext4,fuse (sshfs and curlftp) and cifs.
But not it doesn't with davfs:

UUID=ddfb8308-11ad-48cf-a90b-ade331d6a271 / ext4 defaults,barrier=0 0 1
UUID=83567c6f-e51b-4fcc-bd5f-92cc08cbe911 /boot ext2 noauto,x-systemd.automount,defaults 0 1
UUID=a2eca85c-806a-4b6d-9b40-f5a569a9e412 none swap pri=5,defaults  0 0
UUID=99a24f3a-4716-4dad-80bb-6a1e8b13f97e none swap pri=5,defaults,nofail  0 0
UUID=aa74aece-c11a-4253-bfd1-47914d3b1906 /home ext4 defaults,barrier=0,noauto,x-systemd.automount 0 1
UUID=386d8000-771a-4bfe-84ec-d0308c6aac87 /mnt/disco2 ext4 defaults,barrier=0,nofail 0 1

//serv2003-1/C$   /mnt/serv2003_1   cifs   _netdev,noauto,x-systemd.automount,wsize=57344,actimeo=60,credentials=/root/serv2003_1.cred 0 0
curlftpfs#ip.ip.ip.ip          /mnt/ftp     fuse   _netdev,noauto,x-systemd.automount,ftp_method=singlecwd,noatime 0 0
sshfs#infserv64vm:/             /mnt/infserv64vm                fuse    _netdev,noauto,x-systemd.automount,noatime,max_read=65536,max_write=65536

http://webdav.4shared.com/      /mnt/4shared            davfs   _netdev,noauto,x-systemd.automount,rw

All, but the very last line, works with automount.

Please note, that if i manually mount /mnt/4shared it works but systemctl reports a .mount unit not an automount one:

# systemctl|grep -i automount
boot.automount            loaded active running       boot.automount
home.automount            loaded active running       home.automount
mnt-ftp.automount         loaded active running       mnt-ftp.automount
mnt-infserv64vm.automount loaded active running       mnt-infserv64vm.automount
mnt-infs...4vm2.automount loaded active running       mnt-infserv64vm2.automount
mnt-nas.automount         loaded active running       mnt-nas.automount
mnt-serv2003_1.automount  loaded active running       mnt-serv2003_1.automount
proc-sys...misc.automount loaded active waiting       Arbitrary Executable File Formats File System Automount Point

# systemctl|grep -i 4shared
mnt-4shared.mount         loaded active mounted       /mnt/4shared

What am i missing here?

Last edited by kokoko3k (2022-05-19 14:10:09)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2012-09-06 11:44:58

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

Re: [SOLVED, but why?] Doesn't Systemd automount davfs filesystems?

After a reboot it works.
Still i wonder why id didn't worked at first...


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2012-09-06 11:58:46

progandy
Member
Registered: 2012-05-17
Posts: 5,320

Re: [SOLVED, but why?] Doesn't Systemd automount davfs filesystems?

kokoko3k wrote:

After a reboot it works.
Still i wonder why id didn't worked at first...

That sounds just like windows. Did you change any configuration files or did you issue some systemctl-commands?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2012-09-06 14:02:51

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

Re: [SOLVED, but why?] Doesn't Systemd automount davfs filesystems?

I reloaded the daemon with
systemctl --system daemon-reload
before rebooting just to try to force systemd to read the file again, but things didn't changed.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB