Quoting Dwight Engen (dwight.en...@oracle.com):
> On Mon, 3 Dec 2012 10:04:13 -0600
> Serge Hallyn <serge.hal...@canonical.com> 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?

The one advantage to me was that 'rsync -va /x/ /y' does the right thing
whether or not /y already exists or not.  cp -a does not.  This just left
the code tidier.

Is there a nicer clean one-line idiom to do that with cp?

-serge

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to