[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: df --output
From: |
Bernhard Voelker |
Subject: |
Re: df --output |
Date: |
Sun, 30 Sep 2012 13:58:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0 |
On 09/25/2012 12:54 PM, Karel Zak wrote:
> On Fri, Sep 21, 2012 at 04:51:56AM +0200, Bernhard Voelker wrote:
>> Finally, I made it the whole long way to df's new --output option.
>> Example use:
>>
>> $ src/df --o=target,ipcent,pcent .
>> Mounted on IUse% Use%
>> /media/sdb5 5% 75%
>
> BTW, for new utils (lsblk, findmnt) in util-linux we also support
>
> -o +<column>
>
> convention to add <column> to the default output, for example
>
> findmnt -o=+SIZE
Hi Karel,
thanks for the suggestion.
The idea was to bring the basic support for variable output
into df first, and then I think the way is open for further
discussions. E.g. handling different scale factors for the
columns may be interesting - something like this:
df --output=target,used/1M,iused/1K
I'm not sure if df should go any further this way, as such
processing is usually up to the caller.
We'll see.
Have a nice day,
Berny
- Re: df --output, (continued)
- Re: df --output, Bernhard Voelker, 2012/09/30
- sc_tests_list_consistency failure when adding tests [was: df --output], Bernhard Voelker, 2012/09/21
- Re: sc_tests_list_consistency failure when adding tests [was: df --output], Jim Meyering, 2012/09/21
- Re: sc_tests_list_consistency failure when adding tests [was: df --output], Bernhard Voelker, 2012/09/21
- Re: sc_tests_list_consistency failure when adding tests [was: df --output], Jim Meyering, 2012/09/21
- Re: sc_tests_list_consistency failure when adding tests [was: df --output], Bernhard Voelker, 2012/09/21
- Re: sc_tests_list_consistency failure when adding tests [was: df --output], Jim Meyering, 2012/09/21
Re: df --output, Pádraig Brady, 2012/09/21
Re: df --output, Karel Zak, 2012/09/25
- Re: df --output,
Bernhard Voelker <=