-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
When FFat is mounted before SD, then filesystem reports wrong system sizes #3546
Comments
Let me run some tests before I merge, but this should fix it. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
Needs to be opened again. Version 2.0.11 ffat first: sd first:
|
I use an ESP32 in Arduino environment (more precise: UECIDE). I use both the internal Flash (about 1.4MB) with FFat and an external SD card (32GB) with SD.
When I first mount the Flash with FFat, and then the SD with SD, all calls to totalBytes and freeBytes, usedBytes, resp., show only the values valid for FFat.
When I reverse the order of mounting, so doing SD first, then all comes out correct.
(Note: FFat can't do usedBytes, SD can't do freeBytes.)
When the code is run as shown, the outcome is:
Irrespective of whether SD or FFat is selected, only the FFat data are shown.
When the sections in the code marked 'First' and 'Second' are switched, then the outcome is this:
This is the correct result!
The text was updated successfully, but these errors were encountered: