]> git.ipfire.org Git - thirdparty/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 20:43:45 +0000 (16:43 -0400)
commit8c2e77337493eaa874b9bd08f1f186e04c414ce0
treea306d60deee0f15eaf29af4e8fe7e0d5229bb07c
parent622f4ccae68081925cbd5f73ac68bb94d2581c09
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