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

Rounding Issue #188

@cking

Description

@cking

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions