mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #94] Incorrect calculation in apparent size #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @travankor on GitHub (Jun 7, 2020).
Original GitHub issue: https://github.com/bootandy/dust/issues/94
dust -sseems to have contradicting output compared todu --apparent-size. Apparent size should usually be less than block size.I ran
dust -sn0 /gnuon the guix package store and have 21G, whiledu --apparent-size -sh /gnureturns 8.4G. I think dust counts hardlinks twice (since guix uses hardlinks to save space) although I'm not sure.@bootandy commented on GitHub (Aug 2, 2020):
dust -scounts hardlinks as taking up space on disk.du --apparent-sizedoes not count hardlinks as taking up space on diskIntuitively I 'feel' like I did the right thing with dust and du does the wrong thing. But this is open to debate.