Description
I created a shortcut to "lfs" as /usr/sbin/mount.lfs
. Howeever, it is still only called/triggered by "mount" if I specify "-t lfs" option to mount. It would be ideal if it were possible to get mount to autodetect this. Is there anything on the littlefs side that can be done to achieve this?
Even if not, specifying "-t lfs" is not a big issue. More importantly, even then, lfs fails to mount the littleFS partition, because it assumes 512 blocksize and version 2.1, although the fs itself needs -b=4096 option and is version v2.0 (it comes from micropython images). If i call "lfs" manually, it is easy to successfully mount the loop device, because I can specify -b=4096
as an option. But it doesn't work if I use for example mount -t lfs -b=4096 ~/littlefs.bin /mnt/littlefs
. Is there a way to get this working? I believe this would benefit the community, not just me.
Another problem is that the mount variant only works as sudo, although I believe that is (only) solvable by creating an fstab entry, which isn't a big deal at the moment.