Closed proddy closed 3 years ago
Yes, it is different. @BrianPugh may elaborate more details on the lower level.
@proddy, see this issue on same subject - it was already discussed. https://github.com/lorol/LITTLEFS/issues/7#issuecomment-722010369 Hope that helps you to find an acceptable solution
ah thanks. I should have browsed the closed issues. It's not a problem, but people using Arduino and thinking they can swap out SPIFFS with LITTLEFS will likely encounter the same issue. Perhaps worth documenting it somewhere. Anyway thanks for following up and great work on the port!
With SPIFFS this was valid:
but with LITTLEFS it will throw an error
esp_littlefs: Failed to unlink path "/configdir/file.json". Has open FD.
it's easy to circumvent by cloning the path and issuing a
file.close()
before theremove()
but was I just curious whether this is by design?