[CRIU] [PATCH cr] dump: handle overmounted devices (v2)

Andrey Vagin avagin at openvz.org
Tue Aug 7 09:56:58 EDT 2012


"init" in LXC opens /dev/null and then mounts devtmpfs in /dev,
so crtools can not resolve the path to the origin /dev/null.

crtools with the option --evasive-device will check the origin
device and a new device are the same and if it's true, crtools will
dump a new path.

v2: add a description for the option

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 crtools.c         |    6 ++++++
 files-reg.c       |    4 ++++
 include/crtools.h |    1 +
 test/zdtm.sh      |    2 +-
 4 files changed, 12 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dump-handle-overmounted-devices-v2.patch
Type: text/x-patch
Size: 2473 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120807/8114bb38/0001-dump-handle-overmounted-devices-v2-0001.bin


More information about the CRIU mailing list