Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Btrfs-progs: add --fields option to subvol list
@ 2013-04-11 16:22 Stefan Behrens
  2013-04-11 16:22 ` [PATCH v2 1/4] Btrfs-progs: cleanup in btrfs-list.c Stefan Behrens
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Stefan Behrens @ 2013-04-11 16:22 UTC (permalink / raw)
  To: linux-btrfs

"btrfs subvolume list" gets a new option "--fields=..." which allows
to specify which pieces of information about subvolumes shall be
printed. This is necessary because this commit also adds all the so
far missing items from the root_item like the received UUID, all
generation values and all time values.

The parameters to the "--fields" option is a list of items to print:
--fields=gen,dirid,uuid,puuid,ruuid,cgen,ogen,sgen,rgen,ctime,otime,
         stime,rtime,path,rootid,parent,topid,all

v1 -> v2:
- On request of Wang Shilong, the commit is now splitted into several
  small commits.

Stefan Behrens (4):
  Btrfs-progs: cleanup in btrfs-list.c
  Btrfs-progs: make the btrfs-list output more compact
  Btrfs-progs: add more subvol fields to btrfs-list
  Btrfs-progs: enhance 'btrfs subvolume list'

 btrfs-list.c     | 422 +++++++++++++++++++++++++++++++++++--------------------
 btrfs-list.h     |  40 +++++-
 cmds-subvolume.c |  57 +++-----
 man/btrfs.8.in   |  19 +--
 4 files changed, 332 insertions(+), 206 deletions(-)

-- 
1.8.2.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-04-18 16:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 16:22 [PATCH v2 0/4] Btrfs-progs: add --fields option to subvol list Stefan Behrens
2013-04-11 16:22 ` [PATCH v2 1/4] Btrfs-progs: cleanup in btrfs-list.c Stefan Behrens
2013-04-11 16:22 ` [PATCH v2 2/4] Btrfs-progs: make the btrfs-list output more compact Stefan Behrens
2013-04-11 16:22 ` [PATCH v2 3/4] Btrfs-progs: add more subvol fields to btrfs-list Stefan Behrens
2013-04-12  1:34   ` Wang Shilong
2013-04-12  1:42   ` Wang Shilong
2013-04-12  8:18     ` Stefan Behrens
2013-04-11 16:22 ` [PATCH v2 4/4] Btrfs-progs: enhance 'btrfs subvolume list' Stefan Behrens
2013-04-12  0:58   ` Wang Shilong
2013-04-12  7:44     ` Stefan Behrens
2013-04-18 16:28       ` David Sterba
2013-04-18 16:42   ` David Sterba
2013-04-12  8:26 ` [PATCH v3 3/4] Btrfs-progs: add more subvol fields to btrfs-list Stefan Behrens
2013-04-12  8:39   ` Wang Shilong
2013-04-12  9:05     ` Stefan Behrens
2013-04-12  9:33       ` Wang Shilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox