On 24/07/2025 04:34, Anders Andersson wrote:
Some solutions like "pmount" seems to do part of it, but still requires hardcoding devices to allow.
udisksctl is close to pmount, but it is less convenient due to more verbose arguments and inability to explicitly specify mount point name.
There are issues with pmount, but I believed it is able to handle removable attribute of block devices.
For automount like in GNOME you either need a helper that may run independently of desktop environment (Arch wiki page lists some tools, but I have never tried them) or you may experiment with udev rules or systemd.automount(5) units.