Re: [PATCH 0/2] btrfs device remove alias

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

 




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(-)

--
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