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

Show sparse usage. #30

Closed
ghost opened this issue Nov 9, 2019 · 1 comment
Closed

Show sparse usage. #30

ghost opened this issue Nov 9, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 9, 2019

It would be good if sparse holes are shown as it's own row instead of baked in with "none".

# touch file
# fallocate -l 100M file
# compsize file
Type       Perc     Disk Usage   Uncompressed Referenced
TOTAL      100%      100M         100M         100M
none       100%      100M         100M         100M
@kilobyte
Copy link
Owner

These are no holes — compsize doesn't display those at all, otherwise a single 1PB file would dwarf everything else. But handling preallocated extents as if they were a separate compression type is reasonable.

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