diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2012-09-18 17:14:37 +0800 |
---|---|---|
committer | root <root@localhost.localdomain> | 2012-10-04 16:26:33 -0400 |
commit | 3defb823843ac6071e38dbd89603344885e7a8aa (patch) | |
tree | 2ac9ece7912fc942c76cc25333a21aec78f66f21 /btrfs-list.h | |
parent | 162df1e30c7c0492ae9fb551d74452e643f5fea2 (diff) | |
download | btrfs-progs-3defb823843ac6071e38dbd89603344885e7a8aa.tar.gz |
Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
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>
Original-Signed-off-by: Zhou Bo <zhoub-fnst@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r-- | btrfs-list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h index 11f1215..21d0fdc 100644 --- a/btrfs-list.h +++ b/btrfs-list.h @@ -61,6 +61,7 @@ enum btrfs_list_column_enum { enum btrfs_list_filter_enum { BTRFS_LIST_FILTER_ROOTID, BTRFS_LIST_FILTER_SNAPSHOT_ONLY, + BTRFS_LIST_FILTER_FLAGS, BTRFS_LIST_FILTER_MAX, }; |