I want to print the number of bytes of the total free space of a partition using File.getUsuableSpace(), but it returns a different value than the df command (on Linux).
It is not much different, but it is distinguished by a few megabytes.
What could be?
source
share