Skip to content

How to call statvfs on a filesystem mounted using Arduino_UnifiedStorage? #55

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

Open
Vidbuf opened this issue Apr 23, 2025 · 0 comments
Open

Comments

@Vidbuf
Copy link

Vidbuf commented Apr 23, 2025

I'd like to get the size of the unused storage on a USB drive mounted using Arduino_UnifiedStorage. However it seems the mounted filesystem is held as a private member of the Arduino_POSIXStorage library, and thus I can't get a call to statvfs to return sane values.

Is there a recommended approach to getting the file system statistics (especially free space) using Arduino_UnifiedStorage?

Am I missing something or should this be considered for a feature request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant