[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Rounding Issue #188

Open
cking opened this issue Apr 14, 2020 · 1 comment
Open

Rounding Issue #188

cking opened this issue Apr 14, 2020 · 1 comment

Comments

@cking
Copy link
cking commented Apr 14, 2020

I opened gotop just for fun.
I formatted /dev/sdd1 (mounted on /mnt/external in the screenshot below) freshly as a 1.8TB big hard drive.
In the overview it cleary says it is used 0% and has 1 TB free. I expected it to round up to 2TB instead of down to 1TB.

Required information:

  • gotop version (gotop -V): 3.5.0
  • The output of uname -a: Linux astolfo 5.6.2-arch1-2 #1 SMP PREEMPT Sun, 05 Apr 2020 05:13:14 +0000 x86_64 GNU/Linux
  • Terminal emulator (e.g. iTerm or gnome terminal): alacritty
  • Any relevenat hardware info: the hard drive in question (sdd1) is 1.8TB of size
  • tmux version if using tmux: -

image

Disk /dev/sdd: 1,84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD2003FZEX-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A2364232-5354-48A4-AF01-303C36AC45D2

Device     Start        End    Sectors  Size Type
/dev/sdd1   2048 3907028991 3907026944  1,8T Linux filesystem
@xxxserxxx
Copy link

Hi @cking. I hate to have to ask you to do this, but could you please open this again on https://github.com/xxxserxxx/gotop? Active development has moved to that other project, and this project is suspended as cjbassi is working on something else.

If you open this ticket on the other repo, I'll look into it.

Incidentally, what led you to this repository?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants