Skip to content

btrfs-progs: improve output of btrfs subvolume list command

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs-progs: add -A option for subvolume list (print all available information)Documentation/btrfs-subvolume.asciidoc cmds-subvolume.c+7 -10 replies
2/4btrfs-progs: add "flags" column for subvolume list (shows "readonly" flag with -A)btrfs-list.c btrfs-list.h+15 -00 replies
3/4btrfs-progs: add option "--time-format=short|iso|unix|locale" to subvolume listDocumentation/btrfs-subvolume.asciidoc btrfs-list.c btrfs-list.h +1 more+70 -90 replies
4/4btrfs-progs: change -t option for subvolume list to print a simple space-separated table (making it machine-readable)btrfs-list.c+12 -2810 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] btrfs-progs: improve output of btrfs subvolume list command

Improvements to "subvolume list" command, with the goal to improve machine-readability. While the first three patches simply add new options (-A and --time-format), the last patch [PATCH 4/4] is more intrusive and changes the output format of the '-t' option. Consider it "my view of how tabular output of a linux command should look like" (see also comments on the commit).

Axel Burri (4):
btrfs-progs: add -A option for subvolume list (print all available
information)
btrfs-progs: add "flags" column for subvolume list (shows "readonly"
flag with -A)
btrfs-progs: add option "--time-format=short|iso|unix|locale" to
subvolume list
btrfs-progs: change -t option for subvolume list to print a simple
space-separated table (making it machine-readable)

 Documentation/btrfs-subvolume.asciidoc |   5 ++
 btrfs-list.c                           | 119 +++++++++++++++++++++++----------
 btrfs-list.h                           |   2 +
 cmds-subvolume.c                       |  16 ++++-
 4 files changed, 104 insertions(+), 38 deletions(-)
Signature · 1 line
2.4.9