I have a Embedded Linux system which starts some recording of data on request in a SD card. The software controlling the system has a periodically called function to check the amount of available space in the SD Card, stopping the recording if it reaches 99% of occupation. The code I'm using is the following having I have a Embedded Linux system which starts som