df -h display bug

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Sep 23 06:03:16 PDT 2004


On Thu, Sep 23, 2004 at 03:15:00PM +0400, Alexander Kirillov wrote:
+> Note 10.0 in /usr Used column below. Should be 10G
+> 
+> # df -h
+> Filesystem     Size    Used   Avail Capacity  Mounted on
+> /dev/ad1s1a    126M     62M     54M    53%    /
+> devfs          1.0K    1.0K      0B   100%    /dev
+> /dev/ad1s1f    252M    1.5M    230M     1%    /tmp
+> /dev/ad1s1g     35G    10.0     22G    31%    /usr
+> /dev/ad1s1e    252M    1.9M    230M     1%    /var
+> procfs         4.0K    4.0K      0B   100%    /proc

This looks like a bug in humanize_number(3), I'll look into this.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040923/4165eff0/attachment.bin


More information about the freebsd-current mailing list