2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-05 00:35:23 +00:00

restore: add an option for changing a root file system (v2)

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@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-08-02 16:07:43 +04:00
committed by Pavel Emelyanov
parent 3cb5969b25
commit 420325dca6
4 changed files with 42 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ struct cr_options {
unsigned int namespaces_flags;
bool log_file_per_pid;
char *output;
char *root;
};
extern struct cr_options opts;