aafm icon indicating copy to clipboard operation
aafm copied to clipboard

Use stat -f for more accurate free disk space information

Open normanr opened this issue 10 years ago • 1 comments

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.

normanr avatar Nov 22 '15 17:11 normanr

I am not sure of what the advantage for this would be versus what we see now?

sole avatar Jan 05 '16 09:01 sole