Index | Thread | Search

From:
Job Snijders <job@bsd.nl>
Subject:
Re: make 'df -hi' more human readable
To:
Theo de Raadt <deraadt@openbsd.org>
Cc:
tech@openbsd.org
Date:
Wed, 7 Jan 2026 15:05:07 +0000

Download raw body.

Thread
On Wed, Jan 07, 2026 at 08:00:17AM -0700, Theo de Raadt wrote:
> It is obviously better if it rounds DOWN, than if it rounds UP.
>
> If it rounds down, your eyeball measure will be short at runtime.
> 
> I don't think it matters at all.  If you care deeply, you would not
> throw away the precision.  Don't use the -h option.

You are saying that it is better to display the decimal number
803,356,617 as 766M, rather then as 803M? and 8,630,581 as 8.2M, instead
of 8.6M? This really surprises me.