public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: Omar Sandoval <osandov@fb.com>, linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.cz>, Chris Mason <clm@fb.com>
Subject: Re: [PATCH 0/2] btrfs device remove alias
Date: Fri, 26 Jun 2015 09:10:56 +0800	[thread overview]
Message-ID: <558CA6A0.20401@oracle.com> (raw)
In-Reply-To: <cover.1435161735.git.osandov@fb.com>


while on this. its also good idea to create alias for

   btrfs replace start -> btrfs device replace.

any comments ?


On 06/25/2015 12:09 AM, Omar Sandoval wrote:
> The opposite of btrfs device add is btrfs device delete. This really
> should be btrfs device remove.
>
> Changes from v1:
> - Add support for flags to cmd_struct and a CMD_ALIAS flag which only
>    prints the one-line usage string
> - Rearrange the command wrappers in a way that could be made generic if
>    needed
>
> Thanks!
>
> Omar Sandoval (2):
>    btrfs-progs: replace struct cmd_group->hidden with flags
>    btrfs-progs: alias btrfs device delete to btrfs device remove
>
>   Documentation/btrfs-device.asciidoc |  5 ++++-
>   cmds-device.c                       | 35 ++++++++++++++++++++++++++---------
>   cmds-filesystem.c                   |  2 +-
>   commands.h                          |  9 +++++++--
>   help.c                              | 12 +++++++-----
>   5 files changed, 45 insertions(+), 18 deletions(-)
>

  parent reply	other threads:[~2015-06-26  1:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-24 16:09 [PATCH 0/2] btrfs device remove alias Omar Sandoval
2015-06-24 16:09 ` [PATCH 1/2] btrfs-progs: replace struct cmd_group->hidden with flags Omar Sandoval
2015-06-26 14:34   ` David Sterba
2015-06-24 16:09 ` [PATCH 2/2] btrfs-progs: alias btrfs device delete to btrfs device remove Omar Sandoval
2015-06-26 14:46   ` David Sterba
2015-06-25  4:06 ` [PATCH 0/2] btrfs device remove alias Duncan
2015-06-25 13:41 ` David Sterba
2015-06-25 13:45   ` Chris Mason
2015-06-26  1:10 ` Anand Jain [this message]
2015-06-26  4:21   ` Duncan
2015-06-26 13:33   ` David Sterba
2015-06-27 11:38     ` Goffredo Baroncelli

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=558CA6A0.20401@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=osandov@fb.com \
    /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