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

Support decimal output #10

Open
florensie opened this issue Mar 6, 2023 · 2 comments
Open

Support decimal output #10

florensie opened this issue Mar 6, 2023 · 2 comments

Comments

@florensie
Copy link

Because it's faster, I thought I would use terabytes as input for the disk sizes, but in some situations that doesn't work correctly:
image
The total usable space should be 18.5 TB here, with no unused space.

@darkling
Copy link
Owner

I'm afraid that doesn't really work. It kind of relies on "1" being 1 GiB, because that's the unit of allocation of the FS. It's definitely a good idea to clarify that by putting a "GiB" label on the values, though.

@Forza-tng
Copy link
Contributor

I'm afraid that doesn't really work. It kind of relies on "1" being 1 GiB, because that's the unit of allocation of the FS. It's definitely a good idea to clarify that by putting a "GiB" label on the values, though.

Perhaps allow for TiB units as input, but convert to GiB for the internal logic? I too find it easier to work with TiB units. Of course, we should not restrict to TiB.

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

3 participants