SPIFFS created files with leading / -- can this be avoided with additional parameter?
bsidhipong opened this issue · comments
Hi, I'm using SPIFFS with Simba framework, under PlatformIO, and it calls mkspiffs to make the SPIFFS image for me just fine. But I noticed that all the files it creates begin with leading '/' which is a little odd under Simba framework as Simba mounts SPIFFS under /fs.
We end up having to refer to SPIFFS files in this manner:
$ filesystems/fs/read /fs//config.ini
[network]
ssid=ATOMIC_IOT
psk=*****************
Notice the double-slash that is needed to make this work under Simba. Perhaps if we could add a switch to mkspiffs that avoids the pre-pending of the leading slash that would be awesome.