[lxc-devel] [PATCH 2/2] templates: use hardlink detection in rsync
Michael H. Warfield
mhw at WittsEnd.com
Tue Dec 4 03:16:59 UTC 2012
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
Capitalization is critical here.
Option -x (do not cross devices) is not the same as -X (extendended
attributes).
> -serge
I would like to know where rsync is not available. If rsync is
available then "rsync -H" is available.
That is my concern with busybox. They are very POSIX compliant and I'm
not sure this is a POSIX feature. I run into this all the time in
Android and TinyCore (I've had to recode things to run under busybox ash
shell under TinyCore). I trust rsync better than cp in differing
environments for that very reason. I know what rsync will support (if
it's there). I don't always know what options cp will support.
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121203/442e3602/attachment.pgp>
More information about the lxc-devel
mailing list