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

--usage should be the default #19

Open
lambda opened this issue Dec 21, 2018 · 0 comments
Open

--usage should be the default #19

lambda opened this issue Dec 21, 2018 · 0 comments

Comments

@lambda
Copy link
Contributor

lambda commented Dec 21, 2018

Tools like dutree or du are generally used for finding files to clean up to free up space. The space that will be freed up corresponds to the files block usage on disk, not the file size, which could be smaller due to not using entire blocks, or larger due to a file having holes.

While there may be some circumstances where the file size is useful to know, for instance if transferring to some other system which doesn't support holes in files and does't round to block boundaries, for the most common use cases --usage is the better metric, and it's even implicit in the name, where du stands for "disk usage."

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

1 participant