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

Bad number presentation in CLI output #13

fragamemnon opened this issue Nov 7, 2017 · 1 comment


Copy link

commented Nov 7, 2017

This case concerns the use of --cli:

In the SHARE_ALLOCATED and SHARE_USED sections, the value is presented in bytes, but a metric prefix is added at the end.

For example:

  • 100 B are presented as "100 B"
  • 100 KB are presented as "100000 KB"
  • 100 MB are presented as "100000000 MB", etc...


Since you use base-2 for calculation instead of base-10, the metric prefixes should be correct:
KiB instead of KB
MiB instead of MB
GiB instead of GB
TiB instead of TB

AntonMZ added a commit that referenced this issue Dec 16, 2017

AntonMZ added a commit that referenced this issue Dec 16, 2017


This comment has been minimized.

Copy link

commented Dec 16, 2017


@AntonMZ AntonMZ closed this Dec 16, 2017

@AntonMZ AntonMZ added the bug label Dec 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.