If I shut down my computer while a device that was mounted by udisks is still mounted, the folder where it was mounted still remains.If I then mount that device again later, a '1' will be appended to the name (or higher numbers if the lower numbers are taken).The owner of these empty folders is root; owner has rwx permissions, the rest has none.I'm running Arch Linux with xfce4 as desktop manager.My udisks version is 2.1.7-1I configured udisks to mount the devices in /media using these instructions: https://wiki.archlinux.org/index.php/Udisks#Mount_to_.2Fmedia_.28udisks2.29Is there anything I can do to fix this so the folders will be removed on shutdown?My problem is similar to this problem, with the difference being in which situation it occurs:Make udisks2 clean up stale mount points?. This appered to be a bug in udisks (solved by now). Should I report my situation as a bug too?Edit:This only applies to shared mounts.If I remove the rule that makes mounts shared by default the cleaning up is done properly.
udisks2 doesn't clean up mount points on shutdown
arch linux;udisks