-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add data and root partition full warning / notification. #1234
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
hey @mansr , as discussed - any preference on what system calls to use to check for free disk space? Do we need to try write a file? Or can some simple standard call checking for free diskspace be used? |
I use
This is called from a shell script but could also be done via a procedure call in python. |
I would suggest checking both free space (blocks) and free inodes (files). In a shell script, |
Relates mostly to people using large image. The full data partition is most valuable, since that affects our main use case (node-red); and full root partition is for all the tinkerers and people with mods.
(note that I'm only 99% sure that a full root partition is not normal - Jeroen will know for sure).
some data from the system that got me here:
The text was updated successfully, but these errors were encountered: