[CRIU] [crtools-bot] namespaces: docs updated
Cyrill Gorcunov
gorcunov at openvz.org
Tue Jan 31 13:32:22 EST 2012
The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 9cdfe7192168d0a902b9741ea17033d105df9c29
Author: Stanislav Kinsbursky <skinsbursky at parallels.com>
Date: Tue Jan 31 22:28:40 2012 +0400
namespaces: docs updated
Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>
Acked-by: Pavel Emelyanov <xemul at parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Documentation/crtools.txt | 5 +++--
crtools.c | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/Documentation/crtools.txt b/Documentation/crtools.txt
index 80d58d4..c7b028d 100644
--- a/Documentation/crtools.txt
+++ b/Documentation/crtools.txt
@@ -47,8 +47,9 @@ OPTIONS
-d::
Detach 'crtools' itself once restore is complete.
--n::
- Checkpoint namespaces.
+-n <ns>::
+ Checkpoint namespaces. Namespaces must be separated by comma.
+ Currently supported namespaces: uts.
-o <file>::
Write logging messages to 'file'.
diff --git a/crtools.c b/crtools.c
index e61dc9d..05b5659 100644
--- a/crtools.c
+++ b/crtools.c
@@ -377,8 +377,8 @@ int main(int argc, char *argv[])
usage:
printk("\nUsage:\n");
- printk(" %s dump [-c] -p|-t pid\n", argv[0]);
- printk(" %s restore -p|-t pid\n", argv[0]);
+ printk(" %s dump [-c] -p|-t pid [-n ns]\n", argv[0]);
+ printk(" %s restore -p|-t pid [-n ns]\n", argv[0]);
printk(" %s show [-c] (-p|-t pid)|(-f file)\n", argv[0]);
printk("\nCommands:\n");
@@ -393,6 +393,8 @@ usage:
" checkpoint complete, in case of showing file contents --\n"
" show contents of pages dumped in hexdump format\n");
printk(" -d detach after restore\n");
+ printk(" -n checkpoint/restore namespaces - values must be separated by comma\n");
+ printk(" supported: uts\n");
printk("\nAdditional common parameters:\n");
printk(" -D dir save checkpoint files in specified directory\n");
More information about the CRIU
mailing list