Subject: bin/23600: df -h output miss unit letter for 10GB partitions
To: None <gnats-bugs@gnats.netbsd.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 11/30/2003 13:30:16
>Number: 23600
>Category: bin
>Synopsis: df -h output miss unit letter for 10GB partitions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 30 12:30:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Nicolas Joly
>Release: NetBSD 1.6ZF (-current 20031130)
>Organization:
Institut Pasteur
>Environment:
System: NetBSD cixy.dial.pasteur.fr 1.6ZF NetBSD 1.6ZF (GENERIC) #11: Sun Nov 30 10:40:40 CET 2003 njoly@cixy.dial.pasteur.fr:/local/src/NetBSD/obj/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
"Human-readable" output produced by df(1) can miss the unit letter, especially
for 10GB partitions :
njoly@cixy [~]> df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/wd1a 8131852 50936 7674322 0% /
/dev/wd1f 8130908 4798 7719564 0% /var
/dev/wd1e 8130908 647992 7076370 8% /usr
/dev/wd1g 8130908 1780836 5943526 23% /home
/dev/wd1h 40657328 5200348 33424112 13% /local
/dev/wd1i 40657328 6552 38617908 0% /gensoft
/dev/wd1j 29536884 2 28060036 0% /misc
/dev/wd0e 20971376 5719864 15251512 27% /mount/windows/C
/dev/wd0f 20950944 174064 20776880 0% /mount/windows/D
/dev/wd0g 62883552 7885856 54997696 12% /mount/windows/E
/dev/wd0h 51413088 3366688 48046400 6% /mount/windows/F
njoly@cixy [~]> df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/wd1a 3.9G 25M 3.7G 0% /
/dev/wd1f 3.9G 2.3M 3.7G 0% /var
/dev/wd1e 3.9G 316M 3.4G 8% /usr
/dev/wd1g 3.9G 870M 2.8G 23% /home
/dev/wd1h 19G 2.5G 16G 13% /local
/dev/wd1i 19G 3.2M 18G 0% /gensoft
/dev/wd1j 14G 1.0K 13G 0% /misc
/dev/wd0e 10.0 2.7G 7.3G 27% /mount/windows/C
/dev/wd0f 10.0 85M 9.9G 0% /mount/windows/D
/dev/wd0g 30G 3.8G 26G 12% /mount/windows/E
/dev/wd0h 25G 1.6G 23G 6% /mount/windows/F
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: