All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhoubo <zhoub-fnst@cn.fujitsu.com>
To: btrfs community <linux-btrfs@vger.kernel.org>
Cc: Goffredo Baroncelli <kreijack@libero.it>
Subject: [PATCH 0/3 V2] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
Date: Wed, 08 Aug 2012 16:54:32 +0800	[thread overview]
Message-ID: <50222948.8030102@cn.fujitsu.com> (raw)

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

             reply	other threads:[~2012-08-08  8:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08  8:54 zhoubo [this message]
2012-08-08  8:54 ` [PATCH 1/3 V2] Btrfs-progs: move the function declarations to a new head file zhoubo
2012-08-08  8:54 ` [PATCH 2/3 V2] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots zhoubo
2012-08-08  8:54 ` [PATCH 3/3 V2] Btrfs-progs: update the manpage entries for the btrfs subvolume list zhoubo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50222948.8030102@cn.fujitsu.com \
    --to=zhoub-fnst@cn.fujitsu.com \
    --cc=kreijack@libero.it \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.