01-29-2023, 03:15 AM
OK it's udisks2 that handles the automount, and it can be manipulated:
udisksctl unmount -b /dev/mmcblk0p1
udisksctl mount -b /dev/mmcblk0p1
I tried to `rmdir` the abandonned directory in /media/mobian so now `udisksctl mount` does not need to append the `1`.
I'll see if it lasts long of if there's an event that make `/media/mobian/sd` stay at reboot forcing udisks2 to create `/media/mobian/sd1`.
udisksctl unmount -b /dev/mmcblk0p1
udisksctl mount -b /dev/mmcblk0p1
I tried to `rmdir` the abandonned directory in /media/mobian so now `udisksctl mount` does not need to append the `1`.
I'll see if it lasts long of if there's an event that make `/media/mobian/sd` stay at reboot forcing udisks2 to create `/media/mobian/sd1`.