Re: [lxc-devel] [PATCH] handle clone of btrfs snapshots

2012-09-26 Thread Stéphane Graber
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

Re: [lxc-devel] [PATCH] handle clone of btrfs snapshots

2012-09-26 Thread Serge Hallyn
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

Re: [lxc-devel] [PATCH] handle clone of btrfs snapshots

2012-09-26 Thread Stéphane Graber
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

[lxc-devel] [PATCH] handle clone of btrfs snapshots

2012-09-26 Thread Dwight Engen
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 $