From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 11:16:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A02A16A4D1 for ; Thu, 23 Sep 2004 11:16:23 +0000 (GMT) Received: from infoline.su (mail.infoline.su [194.135.60.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABDFC43D2D for ; Thu, 23 Sep 2004 11:16:22 +0000 (GMT) (envelope-from nevis2us@infoline.su) Received: from baikal.home.test ([194.135.60.177]) by infoline.su (infoline.su [194.135.60.4]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 54-md50000000028.tmp for ; Thu, 23 Sep 2004 15:13:55 +0400 Received: from [10.0.0.1] (baikal.home.test [10.0.0.1]) by baikal.home.test (8.12.11/8.12.11) with ESMTP id i8NBF0XM000628 for ; Thu, 23 Sep 2004 15:15:01 +0400 (MSD) (envelope-from nevis2us@infoline.su) Message-ID: <4152B034.6090005@infoline.su> Date: Thu, 23 Sep 2004 15:15:00 +0400 From: Alexander Kirillov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040905 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Processed: infoline.su, Thu, 23 Sep 2004 15:13:55 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 194.135.60.177 X-Return-Path: nevis2us@infoline.su X-MDaemon-Deliver-To: freebsd-current@freebsd.org X-Mailman-Approved-At: Thu, 23 Sep 2004 12:02:15 +0000 Subject: df -h display bug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nevis2us@infoline.su List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 11:16:23 -0000 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