We now have filesystem auto-mounting in RIOT, the question is what mount points should be used by default.
In #17656 I proposed
- SD cards are mounted to
- soldered Flash devices are mounted to
If there is more than a single flash device / SD card,
/sd1 etc could be used.
The drawback here is that there can’t be a generic application that works both on boards with an SD card and with SPI flash as those use different mount points.
So @kfessel suggested
- Create mountpoints strictly alphabetically, first device is
/a, second device is
A drawback here is that the application now can’t know if a device is an SD card (and thus removable) or not. Maybe this is a minor issue.
In the very first iteration I also had
- Only allow for a single default mount per board and mount it to
Every additional device would need a board-specific mount point.
What do you think makes the most sense? Another idea is to provide bind mounts in VFS so devices could be mounted under different names at the same time.