[CRIU] [PATCH 1/6] help: Introduce separate section for external resources

Pavel Emelyanov xemul at virtuozzo.com
Tue Sep 20 06:26:00 PDT 2016


The plan is to describe them all more carefully.

Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/crtools.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/criu/crtools.c b/criu/crtools.c
index 25637cf..fe3c5a0 100644
--- a/criu/crtools.c
+++ b/criu/crtools.c
@@ -839,6 +839,15 @@ usage:
 "                        in lazy-pages mode: 'criu lazy-pages -D DIR'\n"
 "                        --lazy-pages and lazy-pages mode require userfaultfd\n"
 "\n"
+"* External resources support:\n"
+"  --external RES        dump objects from this list as external resources:\n"
+"                        Formats of RES on dump:\n"
+"                            tty[rdev:dev]\n"
+"                            file[mnt_id:inode]\n"
+"                            dev[maj:min]:VAL\n"
+"                        Formats of RES on restore:\n"
+"                            dev[VAL]:DEVPATH\n"
+"\n"
 "* Special resources support:\n"
 "  -x|--" USK_EXT_PARAM " [inode,...]\n"
 "                        allow external unix connections (optional arguments\n"
@@ -888,13 +897,6 @@ usage:
 "  --enable-fs FSNAMES   a comma separated list of filesystem names or \"all\"\n"
 "                        force criu to (try to) dump/restore these filesystem's\n"
 "                        mountpoints even if fs is not supported\n"
-"  --external RES        dump objects from this list as external resources:\n"
-"                        Formats of RES on dump:\n"
-"                            tty[rdev:dev]\n"
-"                            file[mnt_id:inode]\n"
-"                            dev[maj:min]:VAL\n"
-"                        Formats of RES on restore:\n"
-"                            dev[VAL]:DEVPATH\n"
 "  --inherit-fd fd[NUM]:RES\n"
 "                        Inherit file descriptors, treating fd NUM as being\n"
 "                        already opened via an existing RES, which can be:\n"
-- 
2.5.0



More information about the CRIU mailing list