[CRIU] [PATCH cr 1/3] restore: add an option for changing a root file system (v2)

Andrey Vagin avagin at openvz.org
Thu Aug 2 07:41:07 EDT 2012


The option is -r|--pivot-root and an argument is a path to new root.
A root task will make pivot_root. LXC CT does that, so we need that
for restoring.

v2: s/pivot-root/root/

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 crtools.c         |    7 ++++++-
 include/crtools.h |    1 +
 mount.c           |   33 +++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-restore-add-an-option-for-changing-a-root-file-syste.patch
Type: text/x-patch
Size: 3277 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120802/bcf3fdef/0001-restore-add-an-option-for-changing-a-root-file-syste.bin


More information about the CRIU mailing list