[CRIU] [PATCH cr] dump: handle overmounted devices

Andrey Vagin avagin at openvz.org
Mon Aug 6 08:52:45 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.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dump-handle-overmounted-devices.patch
Type: text/x-patch
Size: 1978 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120806/7519949a/0001-dump-handle-overmounted-devices.bin


More information about the CRIU mailing list