[PATCH 0/3 V2] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots

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

 



From: Zhou Bo <zhoub-fnst@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux