[CRIU] [PATCH 1/3] crtools: describe the inherit-fd option
Andrey Vagin
avagin at openvz.org
Wed Jan 20 18:07:03 PST 2016
From: Andrew Vagin <avagin at virtuozzo.com>
Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
crtools.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/crtools.c b/crtools.c
index d5cb20e..039b7a0 100644
--- a/crtools.c
+++ b/crtools.c
@@ -781,6 +781,13 @@ usage:
" --external RES dump objects from this list as external resources:\n"
" Formats of RES:\n"
" tty[rdev:dev]\n"
+" --inherit-fd fd[<num>]:<existing>\n"
+" Inherit file descriptors. This allows to treat file descriptor\n"
+" <num> as being already opened via <existing> one and instead of\n"
+" trying to open we inherit it:\n"
+" tty[rdev:dev]\n"
+" pipe[inode]\n"
+" socket[inode]\n"
"\n"
"* Logging:\n"
" -o|--log-file FILE log file name\n"
--
2.4.3
More information about the CRIU
mailing list