Hello, Since commit 35263cd8627b296c3badc21de355b4fe613d7cd4 ("gnu: udisks: Mount things under /media."), udisks mounts removable devices under the /media directory instead of using the /run directory, which would otherwise be the default [0].
[0] https://wiki.archlinux.org/title/Udisks#Mount_to_/media Ludo, was there a particular reason for this? I suspect perhaps /run didn't exist in Guix System at the time. This is no longer the case, and with /run proposed to become a tmpfs in bug#73494, that would have the benefit that the mount points would not persist a reboot, which can lead to problems in case of user errors such as creating an actual directory there that would conflict with the automatically created (and destroyed) mount points that udisks creates. Case at point: recently on some relative machine their mount point no longer appeared under their usual name when mounted; it had a '1' suffix. Worst, this drive was used for holding large backups; when the backup tool btrbk saw the directory existing (while the drive was not mounted), it proceeded to fill it with backups, which quickly filled the drive. This situation could have been healed by a reboot in the /run on tmpfs use case. -- Thanks, Maxim