Registered Member
|
I just want to share this solution so hopefully someone else benefits from it.
I am using autofs to mount Samba shares (this is much fasters than using smb:// in dolphin. On Shutdown the "Remote Network" sits there for ages waiting for a timeout and delays the reboot/shutdown. Even after a manual shutdown of autofs, df -h still shows the samba shares. During shutdown the network get disconnected first because its mounted by Network Manager in KDE Plasma by the user and disconnect as soon as plasma logs you out and before the shutdown. On shutdown the samba mounts can not be cleanly unmounted (because of no more network) and have to wait for the timeout. annoying. I found a simple solution: I added ExecStop=umount -t cifs -af to /lib/systemd/system/autofs.service
I hope that help |
Registered Member
|
Thx - very helpful - use it for my automounted nfs shares
OsZ, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]