linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lenz Grimmer <lenz@grimmer.com>
To: Rory Campbell-Lange <rory@campbell-lange.net>
Cc: Miao Xie <miaox@cn.fujitsu.com>,
	Anand jain <Anand.Jain@oracle.com>,
	linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 0/4] filter snapshot(s) by its parent uuid
Date: Mon, 22 Oct 2012 14:34:47 +0200	[thread overview]
Message-ID: <50853D67.9050108@grimmer.com> (raw)
In-Reply-To: <20121019083752.GA19887@campbell-lange.net>

[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]

On 10/19/2012 10:37 AM, Rory Campbell-Lange wrote:

> From my perspective as a user I would be grateful if the following changes in
> syntax for listing subvolumes could be considered:
> 
> In addition to 
> 
>     btrfs subvolume list [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>
>     btrfs su list [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>
>         List subvolumes (and snapshots)
>     (and Anand's patch to allow <path>/<subpath>)
> 
> I believe the following shortcuts may be useful
> 
>     btrfs subvolumes [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>[</subpath>]
>     btrfs sl [-apurts] [-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>[</subpath>]
> 
> Although from a technical perspective 'subvolume list' may be logical, listing
> subvolumes (plural) seems like a different sort of operation to those relating
> to a subvolume (singular) for create/alter/show/delete/snapshot operations.

+1 to this proposal (FWIW) - thanks for making the user interface more
intuitive :)

-- 
  Lenz Grimmer <lenz@grimmer.com> - http://www.lenzg.net/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2012-10-22 12:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19  6:23 [PATCH 0/4] filter snapshot(s) by its parent uuid Anand jain
2012-10-19  6:23 ` [PATCH 1/4] Btrfs-progs: provide method to check if filter is set Anand jain
2012-10-19  6:23 ` [PATCH 2/4] Btrfs-progs: fix irrelevant string in the subvol path Anand jain
2012-10-19  8:59   ` Miao Xie
2012-10-19  6:23 ` [PATCH 3/4] Btrfs-progs: add method to filter snapshots by parent uuid Anand jain
2012-10-19  6:23 ` [PATCH 4/4] Btrfs-progs: list only snapshots of the given subvol Anand jain
2012-10-19  7:38 ` [PATCH 0/4] filter snapshot(s) by its parent uuid Miao Xie
2012-10-19  8:37   ` Rory Campbell-Lange
2012-10-22 12:34     ` Lenz Grimmer [this message]

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=50853D67.9050108@grimmer.com \
    --to=lenz@grimmer.com \
    --cc=Anand.Jain@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=miaox@cn.fujitsu.com \
    --cc=rory@campbell-lange.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).