01-12-2023, 02:50 AM
Hi!
I've read multiples times that the SD is mounted « on demand », what does that mean and what handles it? I've found nothing in the logs (tried `sudo journalctl --grep mount`, `sudo journalctl --grep media` and `sudo journalctl --grep sd1`).
I've spotted a bug in the automount behavior, sometimes it appends a `1` in the directory name (under /media/mobian) after the fs label.
I mean my SD card is named `sd` and it sometimes gets mounted as `/media/mobian/sd` and sometimes as `/media/mobian/sd1`.
It's bad because lollypop and syncthings are loosing it when it has the wrong name.
I know I could fix it by adding it to `/etc/fstab` but I'd prefer understanding the issue and ultimately making the system easier to use for everyone.
I've read multiples times that the SD is mounted « on demand », what does that mean and what handles it? I've found nothing in the logs (tried `sudo journalctl --grep mount`, `sudo journalctl --grep media` and `sudo journalctl --grep sd1`).
I've spotted a bug in the automount behavior, sometimes it appends a `1` in the directory name (under /media/mobian) after the fs label.
I mean my SD card is named `sd` and it sometimes gets mounted as `/media/mobian/sd` and sometimes as `/media/mobian/sd1`.
It's bad because lollypop and syncthings are loosing it when it has the wrong name.
I know I could fix it by adding it to `/etc/fstab` but I'd prefer understanding the issue and ultimately making the system easier to use for everyone.