Index | Thread | Search

From:
ASOU Masato <takeasou.masato@gmail.com>
Subject:
Re: make 'df -hi' more human readable
To:
Job Snijders <job@bsd.nl>
Cc:
tech@openbsd.org
Date:
Wed, 7 Jan 2026 21:24:53 +0900

Download raw body.

Thread
On Wed, Jan 7, 2026 at 9:10 PM Job Snijders <job@bsd.nl> wrote:
>
> On Wed, Jan 07, 2026 at 11:51:42AM +0000, Crystal Kolipe wrote:
> > Whilst I like the general idea, the use of 1000 as a divisor instead
> > of 1024 seems very wrong.
>
> I also tried using a 1024 divisor, but the results just drifted too far
> away from reality for my liking. For example, a power-of-2-based 'mega'
> is ~ 5% larger than a power-of-10-based 'mega'. To me it seems a 1024
> divisor might mislead the operator about inode availability.

I think it's inoccusual.
--
ASOU Masato