df -h display bug

From: Alexander Kirillov <nevis2us_at_infoline.su>
Date: Thu, 23 Sep 2004 15:15:00 +0400
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

Here's df -H output for comparison:

#df -H
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad1s1a    132M     65M     57M    53%    /
devfs          1.0k    1.0k      0B   100%    /dev
/dev/ad1s1f    264M    1.5M    242M     1%    /tmp
/dev/ad1s1g     38G     11G     24G    31%    /usr
/dev/ad1s1e    264M    2.0M    241M     1%    /var
procfs         4.1k    4.1k      0B   100%    /proc

df -h in -stable gives 10.0G for the same partition.
Which is kinda clumsy too but less misleading.

# uname -a
FreeBSD  5.3-BETA5 FreeBSD 5.3-BETA5 #1: Thu Sep 23 12:36:20 MSD 2004
nevis_at_:/usr/obj/usr/src/sys/GENERIC  i386
Received on Thu Sep 23 2004 - 09:16:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC