Re: [lxc-devel] [PATCH] if the rootfs is a btrfs subvolume, delete it instead of rm -rf

2012-09-26 Thread Stéphane Graber
On 12-09-26 12:59 PM, Dwight Engen wrote: > Check if the rootfs is btrfs subvolume, and if so delete it. Otherwise > fall back to the rm -rf. > > Signed-off-by: Dwight Engen > --- > src/lxc/lxc-destroy.in | 13 + > 1 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/

[lxc-devel] [PATCH] if the rootfs is a btrfs subvolume, delete it instead of rm -rf

2012-09-26 Thread Dwight Engen
Check if the rootfs is btrfs subvolume, and if so delete it. Otherwise fall back to the rm -rf. Signed-off-by: Dwight Engen --- src/lxc/lxc-destroy.in | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/lxc/lxc-destroy.in b/src/lxc/lxc-destroy.in index 5c7656