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

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

 



On 2015-06-26 15:33, David Sterba wrote:
> On Fri, Jun 26, 2015 at 09:10:56AM +0800, Anand Jain wrote:
>> while on this. its also good idea to create alias for
>>
>>    btrfs replace start -> btrfs device replace.
> 
> This was asked for back then, and briefly discussed on irc (11/2012).
> The preference was not to do too much typing, although the command
> hierarchy would become less structured and can cause some trouble when
> looking for docs.
> 
> I'm slightly worried about adding more aliases as it can cause confusion
> when writing documentaiton and recommending how to do things.  But I
> understand the motivations to make the interface more consistent or
> convenient to use.
> 
> In this case it's moving replace to the expected place. I'm not against
> it but more feedback would help.

I agree that btrfs device replace makes sense. The point is what about btrfs
 replace status and cancel. 

We could add these subcommand to device too, also because it makes sense to
extend these to support the remove/delete command. I am not suggesting to
do that now, but our decision has to take in account also these (possible ?)
further alias.

Goffredo



-- 
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5
--
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