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

discrepancies with size reporting #5

Open
stevekm opened this issue Aug 26, 2022 · 0 comments
Open

discrepancies with size reporting #5

stevekm opened this issue Aug 26, 2022 · 0 comments

Comments

@stevekm
Copy link
Owner

stevekm commented Aug 26, 2022

I noticed this while testing the latest master

On my home dir (~150GB, 849621 files), duh reports 209.6G

du -shc ~ reports 138G

And macOS Finder reports different values altogether

Screen Shot 2022-08-26 at 7 11 29 PM

I suspect macOS filesystem has some nonstandard reporting going on. As it is, I dont think anything in duh needs to be changed, but this discrepancy should be noted since it will likely cause confusion during usage.

Another note is that I think du is counting some value based on inodes while duh and possibly macOS is reporting based on bytes. Need clarification on the differences between these reporting methods.

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