]> git.proxmox.com Git - mirror_lxc.git/commit
overlayfs_clone: rsync the mounted rootfs
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 17 Sep 2015 17:26:12 +0000 (17:26 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 21 Sep 2015 15:37:31 +0000 (11:37 -0400)
commit186bef0024dbd15fe859b5fec7f78de5c9fee8eb
tree4be818392da4cee5412f66cb3def03f93e08586d
parentffe9a25a03197651a8ecb638fa3b5232a3213b00
overlayfs_clone: rsync the mounted rootfs

Closes #655

We can't rsync the delta as unpriv user because we can't create
the chardevs representing a whiteout.  We can however rsync the
rootfs and have the kernel create the whiteouts for us.

do_rsync: pass --delete

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/bdev.c