Re: [PATCH] btrfs-progs: subvol: change subvol set-default to also accept subvol path

2017-10-05 Thread David Sterba
On Mon, Oct 02, 2017 at 03:25:40PM +0900, Misono, Tomohiro wrote: > This patch changes "subvol set-default" to also accept the subvolume path > for convenience. > > This is the one of the issue on github: > https://github.com/kdave/btrfs-progs/issues/35 > > If there are two args, they are assumed

Re: [PATCH] btrfs-progs: subvol: change subvol set-default to also accept subvol path

2017-10-02 Thread Misono, Tomohiro
I rethink this and conclude that we should only allow the absolute path to the subvolume in order to prevent setting wrong filesystem by mistake when multiple filesystems are used. I will submit the patch again and please ignore this. Regards, Tomohiro On 2017/10/02 15:25, Misono, Tomohiro wrot

[PATCH] btrfs-progs: subvol: change subvol set-default to also accept subvol path

2017-10-01 Thread Misono, Tomohiro
This patch changes "subvol set-default" to also accept the subvolume path for convenience. This is the one of the issue on github: https://github.com/kdave/btrfs-progs/issues/35 If there are two args, they are assumed as subvol id and path to the fs (the same as current behavior), and if there is