Skip to content

Add SPIFFS.check() to implement checking capabilities. #2634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
miky2k opened this issue Oct 24, 2016 · 1 comment · Fixed by #6340
Closed

Add SPIFFS.check() to implement checking capabilities. #2634

miky2k opened this issue Oct 24, 2016 · 1 comment · Fixed by #6340

Comments

@miky2k
Copy link

miky2k commented Oct 24, 2016

In sensors log with casual power loss may happen that file-system stop working (especially remove()),
there is a check implementation in SPIFFS library that should exposed in Arduino.

@ABH10
Copy link

ABH10 commented Oct 16, 2017

I would appreciate this enhancement very much. Once in a while SPIFFS seems to mess up for no obvious reason. Currently an SPIFFS.format() is the only cure.

earlephilhower added a commit to earlephilhower/Arduino that referenced this issue Jul 24, 2019
Fixes esp8266#2634

Expose any low-level filesystem check operations for users, and add
documentation on this and the gc() methods.
earlephilhower added a commit that referenced this issue Jul 27, 2019
* Add a FS::check() optional method

Fixes #2634

Expose any low-level filesystem check operations for users, and add
documentation on this and the gc() methods.

* Update doc w/more gc() info and link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants