On Mon, 01 Dec 2014 14:38:16 +0100, MegaBrutal wrote: > I've also noticed, a subvolume can just be deleted with an "rm -r", > just like an ordinary directory. I'd consider to only allow subvolume
Nope: root>btrfs subvolume create foo Create subvolume './foo' root>touch foo/bla root>ll foo total 0 -rw-r--r-- 1 root root 0 Dec 1 14:47 bla root>rm -rf foo rm: cannot remove ‘foo’: Operation not permitted root> The files of the subvolume do get deleted though, but that's correct. Not sure what you did, but what you want is already the case. -h -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html