Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 15:15:00 +0400
From:      Alexander Kirillov <nevis2us@infoline.su>
To:        freebsd-current@freebsd.org
Subject:   df -h display bug
Message-ID:  <4152B034.6090005@infoline.su>

next in thread | raw e-mail | index | archive | help
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@:/usr/obj/usr/src/sys/GENERIC  i386



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4152B034.6090005>