On Thu, Oct 05, 2017 at 09:57:25AM +0900, Misono, Tomohiro wrote: > > I agree with Andrei and Hugo. We need to check that the subvolume path > > belongs to the filesystem anyway. I don't see that in the first version, > > so please fix it. > > > > I'm a bit confusing, but what is the meaning of "We need to check that the subvolume > path belongs to the filesystem"? Do you mean we should check whether the fs of current > directory and the fs of the subvolume specified are the same or not? However, current > "set-default <id> <path>" does not check the <path> belong the same fs or not either. > Also, what if the subvolume is specified by absolute path? Ah my bad, specifying by path is enough of course. So the expected use is: filesystem mounted under /mnt $ cd /mnt $ btrfs subvol set-default ./subvol1 or $ cd / $ btrfs subvol set-default /mnt/subvol1 -- 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
