Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-04 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Mon, 3 Dec 2012 21:25:00 -0600 > Serge Hallyn wrote: > > > Quoting Michael H. Warfield (m...@wittsend.com): > > > On Mon, 2012-12-03 at 20:43 -0600, Serge Hallyn wrote: > > > > A-ha, actually busybox cp does not support -T, at least here on > >

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-04 Thread Dwight Engen
On Mon, 3 Dec 2012 21:25:00 -0600 Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > On Mon, 2012-12-03 at 20:43 -0600, Serge Hallyn wrote: > > > A-ha, actually busybox cp does not support -T, at least here on > > > ubuntu 12.10. So should we go with rsync -ah after all s

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Michael H. Warfield
On Mon, 2012-12-03 at 21:25 -0600, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > On Mon, 2012-12-03 at 20:43 -0600, Serge Hallyn wrote: > > > A-ha, actually busybox cp does not support -T, at least here on ubuntu > > > 12.10. So should we go with rsync -ah after all si

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Mon, 2012-12-03 at 20:43 -0600, Serge Hallyn wrote: > > A-ha, actually busybox cp does not support -T, at least here on ubuntu > > 12.10. So should we go with rsync -ah after all since it's more likely > > they'll install rsync next to busybox?

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Michael H. Warfield
On Mon, 2012-12-03 at 20:43 -0600, Serge Hallyn wrote: > A-ha, actually busybox cp does not support -T, at least here on ubuntu > 12.10. So should we go with rsync -ah after all since it's more likely > they'll install rsync next to busybox? Or is that not actually likely? rsync -aH Capitalizat

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Serge Hallyn
A-ha, actually busybox cp does not support -T, at least here on ubuntu 12.10. So should we go with rsync -ah after all since it's more likely they'll install rsync next to busybox? Or is that not actually likely? -serge ---

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Michael H. Warfield
On Mon, 2012-12-03 at 14:10 -0500, Dwight Engen wrote: > On Mon, 03 Dec 2012 13:55:41 -0500 > "Michael H. Warfield" wrote: > > > On Mon, 2012-12-03 at 12:18 -0600, Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > > On Mon, 3 Dec 2012 10:47:26 -0600 > > > > Serge Hal

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Dwight Engen
On Mon, 03 Dec 2012 13:55:41 -0500 "Michael H. Warfield" wrote: > On Mon, 2012-12-03 at 12:18 -0600, Serge Hallyn wrote: > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > On Mon, 3 Dec 2012 10:47:26 -0600 > > > Serge Hallyn wrote: > > > > > > > Quoting Dwight Engen (dwight.en...@oracle.

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Michael H. Warfield
On Mon, 2012-12-03 at 12:18 -0600, Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Mon, 3 Dec 2012 10:47:26 -0600 > > Serge Hallyn wrote: > > > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > > On Mon, 3 Dec 2012 10:04:13 -0600 > > > > Serge Hallyn wrote: >

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Michael H. Warfield
On Mon, 2012-12-03 at 12:40 -0500, Dwight Engen wrote: > On Mon, 3 Dec 2012 10:47:26 -0600 > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > On Mon, 3 Dec 2012 10:04:13 -0600 > > > Serge Hallyn wrote: > > > > > > > However one question is: is -H ubiquitous? > >

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Mon, 3 Dec 2012 10:47:26 -0600 > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > On Mon, 3 Dec 2012 10:04:13 -0600 > > > Serge Hallyn wrote: > > > > > > > However one question is: is -H ubiquitous? > > > > >

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Dwight Engen
On Mon, 3 Dec 2012 10:47:26 -0600 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Mon, 3 Dec 2012 10:04:13 -0600 > > Serge Hallyn wrote: > > > > > However one question is: is -H ubiquitous? > > > > I'm wondering why we don't just use the cp -a? It seems like cp is

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Mon, 3 Dec 2012 10:04:13 -0600 > Serge Hallyn wrote: > > > However one question is: is -H ubiquitous? > > I'm wondering why we don't just use the cp -a? It seems like cp is far > more likely to be installed than rsync? rootfs_path probably do

Re: [lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync

2012-12-03 Thread Dwight Engen
On Mon, 3 Dec 2012 10:04:13 -0600 Serge Hallyn wrote: > However one question is: is -H ubiquitous? I'm wondering why we don't just use the cp -a? It seems like cp is far more likely to be installed than rsync? rootfs_path probably doesn't already exist so it not like rsync is going to be faster