[CRIU] [PATCH 0/4] mount: dump tmpfs in a mount namespace w/o tar (v2)

Andrey Vagin avagin at openvz.org
Fri Feb 28 06:39:48 PST 2014


This patch set moves pivot_root after restoring mount points,
so we can use tar from the root mount namespace.

v2: clean up code

Andrey Vagin (4):
  mount: change cwd on the root before restoring mntns (v2)
  mounts: use relative paths for mountpoints (v2)
  mounts: make pivot_root after restoring mount points
  zdtm/tempfs: check that overmounted parts are restored (v2)

 mount.c                        | 124 +++++++++--------------------------------
 test/zdtm.sh                   |   2 +
 test/zdtm/live/static/tempfs.c |  75 +++++++++++++++++++------
 3 files changed, 87 insertions(+), 114 deletions(-)

-- 
1.8.5.3



More information about the CRIU mailing list