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

Feature: implement --apparent-size #56

Closed
imsnif opened this issue Jun 26, 2020 · 1 comment
Closed

Feature: implement --apparent-size #56

imsnif opened this issue Jun 26, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@imsnif
Copy link
Owner

imsnif commented Jun 26, 2020

Right now, diskonaut uses blocks in order to count file size. This means it counts how much space a file takes on the hard-drive, rather than how big that file is. These two can be different when (for example) the filesystem uses compression, and so the actual size taken on the hard-drive would be smaller than the file size.

Since differentiating them, while useful, is very much an edge-case - let's implement an --apparent-size flag rather than displaying both of them on-screen and possibly providing too much information to most users. This will also help us run tests predictably on platforms that use file-system compression (as discussed here: #50).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant