Skip to content
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

Use stat -f for more accurate free disk space information #66

Open
normanr opened this issue Nov 22, 2015 · 1 comment
Open

Use stat -f for more accurate free disk space information #66

normanr opened this issue Nov 22, 2015 · 1 comment

Comments

@normanr
Copy link

normanr commented Nov 22, 2015

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.

@sole
Copy link
Owner

sole commented Jan 5, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants