On 12-09-26 02:11 PM, Serge Hallyn wrote:
> Quoting Dwight Engen (dwight.en...@oracle.com):
>>
>> Fix determination of $oldroot from the config file. The old code had the '
>> in the wrong place and didn't account for whitespace between the = and
>> the rootfs.
>>
>> Set $rootfs based on $oldroot i
Quoting Dwight Engen (dwight.en...@oracle.com):
>
> Fix determination of $oldroot from the config file. The old code had the '
> in the wrong place and didn't account for whitespace between the = and
> the rootfs.
>
> Set $rootfs based on $oldroot instead of forcing it to be in
> $lxc_path/$lxc_n
On 12-09-26 01:20 PM, Dwight Engen wrote:
>
> Fix determination of $oldroot from the config file. The old code had the '
> in the wrong place and didn't account for whitespace between the = and
> the rootfs.
>
> Set $rootfs based on $oldroot instead of forcing it to be in
> $lxc_path/$lxc_new/roo
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/
On 12-09-26 12:59 PM, Dwight Engen wrote:
>
> Signed-off-by: Dwight Engen
> ---
> doc/lxc-attach.sgml.in |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/doc/lxc-attach.sgml.in b/doc/lxc-attach.sgml.in
> index a9a2902..34e9027 100644
> --- a/doc/lxc-attach.sgml.in
Fix determination of $oldroot from the config file. The old code had the '
in the wrong place and didn't account for whitespace between the = and
the rootfs.
Set $rootfs based on $oldroot instead of forcing it to be in
$lxc_path/$lxc_new/rootfs. This allows for btrfs snapshot to be made even if
$
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
Signed-off-by: Dwight Engen
---
doc/lxc-attach.sgml.in |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/lxc-attach.sgml.in b/doc/lxc-attach.sgml.in
index a9a2902..34e9027 100644
--- a/doc/lxc-attach.sgml.in
+++ b/doc/lxc-attach.sgml.in
@@ -133,7 +133,7 @@ Foundation,