bug#81360: Acknowledgement (df -P seems to use wrong format)
From:
Christoph Anton Mitterer
Subject:
bug#81360: Acknowledgement (df -P seems to use wrong format)
Date:
Mon, 06 Jul 2026 16:19:51 +0200
User-agent:
Evolution 3.56.2-10
On Sun, 2026-07-05 at 00:07 -0700, Collin Funk wrote:
> I lean towards keeping the current behavior because -T isn't really a
> distinct output mode that should override (or be overridden) by -P.
> Note
> the difference in the headers here:
>
> $ df -T | head -n 1
> Filesystem Type 1K-blocks Used Available Use%
> Mounted on
> $ df -P -T | head -n 1
> Filesystem Type 1024-blocks Used Available Capacity
> Mounted on
>
> There are also some differences when using -P, as described in the
> manual [1], that one might want combined with the type. Therefore,
> disallowing it would probably not be nice.
Hmm still... the current behaviour seems also sub-optimal.
-P is literally described as:
"use the POSIX output format"
but then it doesn't, or at least not always.
I guess my main point here is that the option is specifically meant to
get the portable format.
Anyway,... just my opinion :-D
Cheers,
Chris.