Am Freitag, 6. November 2020 schrieb Dr. Nikolaus Klepp:
Now that solved one other mistery, that naged me for
years. The
answer is in "man udisks", and the correct udevd-rule is to be found
in the arch wiki: On devuan/debian, removeable devices are mounted
under /media/$USER/<SOMENAME> With this file in
/etc/udev/rules.d/99-udisks2.rules, it's mounted under
/media/<SOMENAME> - you don't even need to restart udevd to make it
work :)
# UDISKS_FILESYSTEM_SHARED
# ==1: mount filesystem to a shared directory (/media/VolumeName)
# ==0: mount filesystem to a private directory
(/media/$USER/VolumeName) # See udisks(8)
# Source:
https://wiki.archlinux.org/index.php/Udisks
ENV{ID_FS_USAGE}=="filesystem|other|crypto",
ENV{UDISKS_FILESYSTEM_SHARED}="1"
That. Nagged me, too, but not enough to come to investigate it yet.
Thanks, Nik
Cheers, Stefan