zhoubo
2012-Aug-08 08:54 UTC
[PATCH 0/3 V2] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
From: Zhou Bo <zhoub-fnst@cn.fujitsu.com> We want ''btrfs subvolume list'' only to list readonly subvolumes, this patch set introduces a new option ''r'' to implement it. You can use the command like that: btrfs subvolume list -r <path> v1->v2: address the comments from Goffredo Baroncelli - change the changelog of the patches and make them more elaborate. - move the function declarations to a new head file. - add the introduction of the new option ''r'' into the man page --- btrfs-list.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++------ btrfs-list.h | 21 +++++++++++++++ cmds-inspect.c | 4 +-- cmds-subvolume.c | 18 +++++++------ ctree.h | 2 + man/btrfs.8.in | 5 ++- 6 files changed, 100 insertions(+), 22 deletions(-) create mode 100644 btrfs-list.h -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html