Date: Wed, 30 Aug 2006 14:11:37 +0100 From: Ceri Davies <ceri@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/102694: df(1) can forget to print the unit with -h Message-ID: <E1GIPqz-000FME-Mx@shrike.submonkey.net> Resent-Message-ID: <200608301320.k7UDKMAS099245@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@shrike.private.submonkey.net:/usr/obj/usr/src/sys/SHRIKE i386
>Description:
The unit is missing from the Used column here:
{ceri@shrike}-{~} % df -h /usr/ports
Filesystem Size Used Avail Capacity Mounted on
/dev/ad1s1a 1.1G 1000 104M 91% /usr/ports
{ceri@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GIPqz-000FME-Mx>
