NetBSD Problem Report #46467

From www@NetBSD.org  Sat May 19 23:14:01 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 0C57363B915
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 19 May 2012 23:14:01 +0000 (UTC)
Message-Id: <20120519231400.6008663B882@www.NetBSD.org>
Date: Sat, 19 May 2012 23:14:00 +0000 (UTC)
From: anon314159276@gmail.com
Reply-To: anon314159276@gmail.com
To: gnats-bugs@NetBSD.org
Subject: df reports 8 times what it otherwise does when used with -P flag
X-Send-Pr-Version: www-1.0

>Number:         46467
>Category:       bin
>Synopsis:       df reports 8 times what it otherwise does when used with -P flag
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 19 23:15:00 +0000 2012
>Originator:     Mathew Vincent
>Release:        5.0.1
>Organization:
>Environment:
NetBSD xxxxxxxxxxxxx 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 01:39:11 UTC 2009  builds@b8.netbsd.org:/home/builds/ab/netbsd-5-0-1-RELEASE/i386/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
df -P gives incorrect information, eg:

# du -ksx  /usr
2571214 /usr
# df /usr
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
/dev/wd0e      71612968    2571214   65461106   3% /usr
# df -P /usr
Filesystem 1K-blocks Used Available Capacity Mounted on
/dev/wd0e 572903744 20569712 523688848 3% /usr

>How-To-Repeat:
use the command

>Fix:
divide output by 8

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.