From 9cdfe7192168d0a902b9741ea17033d105df9c29 Mon Sep 17 00:00:00 2001 From: Stanislav Kinsbursky Date: Tue, 31 Jan 2012 22:28:40 +0400 Subject: [PATCH] namespaces: docs updated Signed-off-by: Stanislav Kinsbursky Acked-by: Pavel Emelyanov Signed-off-by: Cyrill Gorcunov --- 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 80d58d4c6..c7b028d15 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 :: + Checkpoint namespaces. Namespaces must be separated by comma. + Currently supported namespaces: uts. -o :: Write logging messages to 'file'. diff --git a/crtools.c b/crtools.c index e61dc9d29..05b565976 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");