bin/102694: df(1) can forget to print the unit with -h
Ceri Davies
ceri at FreeBSD.org
Wed Aug 30 13:20:29 UTC 2006
>Number: 102694
>Category: bin
>Synopsis: df(1) can forget to print the unit with -h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 30 13:20:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Ceri Davies
>Release: FreeBSD 6.1-STABLE i386
>Organization:
Submonkey
>Environment:
System: FreeBSD shrike.private.submonkey.net 6.1-STABLE FreeBSD 6.1-STABLE #48: Thu Aug 24 06:19:32 BST 2006 root at shrike.private.submonkey.net:/usr/obj/usr/src/sys/SHRIKE i386
>Description:
The unit is missing from the Used column here:
{ceri at shrike}-{~} % df -h /usr/ports
Filesystem Size Used Avail Capacity Mounted on
/dev/ad1s1a 1.1G 1000 104M 91% /usr/ports
{ceri at shrike}-{~} % df -k /usr/ports
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad1s1a 1190120 1023920 106696 91% /usr/ports
>How-To-Repeat:
Have a filesystem that has used 1000M. Look at it.
>Fix:
Not sure if this is df(1) or libutil's humanize_number(3)
to be honest.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list