Skip to content

Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots

zhoubo linux-btrfs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Btrfs-progs: move the function declarations to a new head filebtrfs-list.c btrfs-list.h cmds-inspect.c +1 more+24 -70 replies
2/3Btrfs-progs: enhance btrfs subvol list only to show read-only snapshotsbtrfs-list.c cmds-subvolume.c ctree.h+71 -120 replies
3/3Btrfs-progs: update the manpage entries for the btrfs subvolume listman/btrfs.8.in+3 -20 replies

Reviews trailers per patch

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

Read the v2 thread

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

From: Zhou Bo <[email protected]>

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
Signature · 1 line
1.6.0.6