bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#81360: Acknowledgement (df -P seems to use wrong format)


From: Collin Funk
Subject: bug#81360: Acknowledgement (df -P seems to use wrong format)
Date: Sun, 05 Jul 2026 00:07:43 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

Christoph Anton Mitterer <calestyo@scientia.org> writes:

> Hey.
>
> Stupid me... had an alias defined for df, which included -T.
>
> But still, shouldn't -P then override -T or at least give an error that
> both are mutually exclusive?

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.

Collin

[1] https://www.gnu.org/software/coreutils/manual/coreutils.html#df-P





reply via email to

[Prev in Thread] Current Thread [Next in Thread]