Project

General

Profile

Bug #51

Do not use floating when displaying Bytes

Added by Robin Hahling over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/28/2012
Due date:
% Done:

0%

Estimated time:

Description

As of version 2.0.2, the default output is a bit weird. See this:

[robin@thor ~/Hacking/git/bor/dfc] % dfc -a
FILESYSTEM  TYPE     (*) USED      FREE (-) %USED AVAILABLE     TOTAL MOUNTED ON 
rootfs      rootfs   [***********---------]   53%     13.0G     27.9G /
proc        proc     [********************]  100%      0.0B      0.0B /proc
sys         sysfs    [********************]  100%      0.0B      0.0B /sys
/dev        devtmpfs [--------------------]    0%      3.8G      3.8G /dev
run         tmpfs    [*-------------------]    0%      3.8G      3.8G /run
/dev/sdc1   ext4     [***********---------]   53%     13.0G     27.9G /
devpts      devpts   [********************]  100%      0.0B      0.0B /dev/pts
shm         tmpfs    [**------------------]   10%      3.4G      3.8G /dev/shm
tmpfs       tmpfs    [*-------------------]    0%      6.0G      6.0G /tmp
/dev/sda7   ext2     [****----------------]   16%     80.5M     95.4M /boot
/dev/sda3   ext4     [*************-------]   63%    128.7G    344.6G /home
/dev/sda5   reiserfs [*************-------]   62%      4.8G     12.6G /var
fuse-daemon gvfs     [********************]  100%      0.0B      0.0B /home/robin/.gvfs
/dev/sdb1   ext4     [***************-----]   73%     81.3G    297.8G /mnt/Videos

It does not make sense at all, when using human readable format, to display "0.0B"...

History

#1

Updated by Robin Hahling over 8 years ago

  • Status changed from New to Closed

Also available in: Atom PDF