NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/46467: df reports 8 times what it otherwise does when used with -P flag



>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@localhost:/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



Home | Main Index | Thread Index | Old Index