aafm
aafm copied to clipboard
Use stat -f for more accurate free disk space information
Instead of df which prints out human readable disk space; stat -f could be used instead. It also supports -c, so eg: stat -f -c '%a/%b@%S' /data would print 408264/3290543@4096 which translates as 1.55gb free of 12.5gb total.
I am not sure of what the advantage for this would be versus what we see now?