[Top][All Lists]

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

df --output

From: Bernhard Voelker
Subject: df --output
Date: Fri, 21 Sep 2012 04:51:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0

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%

The discussion about it started with

The biggest changes are in PATCH 03, 11, 17 and of course
the new files for documentation [19] and tests [20].

[PATCH 01/20] df: move the call of get_header from get_dev to main
[PATCH 02/20] df: rename some displayable fields
[PATCH 03/20] df: rework internal processing of output columns
[PATCH 04/20] df: apply ambsalign to the last field with
[PATCH 05/20] df: fix bracket opening style for structs
[PATCH 06/20] df: use enum value for long option --total
[PATCH 07/20] df: fix typo in comment
[PATCH 08/20] df: remove now-obsolescent condition
[PATCH 09/20] df: only sum up grand total if required
[PATCH 10/20] df: print '-' into the target column of the total line
[PATCH 11/20] df: Add basic support for mixed block and inode fields
[PATCH 12/20] df: remove remainder of pre-mixed fields support
[PATCH 13/20] df: minor cleanup to improve readability
[PATCH 14/20] df: cleanup header_mode handling regarding --inodes
[PATCH 15/20] df: give posix_format variable a better scope
[PATCH 16/20] df: remove old comment
[PATCH 17/20] df: add new --output option
[PATCH 18/20] df: plug two minor memory holes detected by valgrind
[PATCH 19/20] df: document the new --output option
[PATCH 20/20] df: add a test for the --output option

For once, I have attached the patch set in a BZ2 file.

Thanks to Padraig and Jim who have given me some valuable guidance.

Have a nice day,

Attachment: df-output.patch.bz2
Description: application/bzip

reply via email to

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