[CRIU] [PATCH 0/5] work directory
Ruslan Kuprieiev
kupruser at gmail.com
Tue Nov 12 13:42:56 PST 2013
Lets add --work-dir(-W) command line option to specifie relatively to what dir
logfiles/pidfiles shoud be opened.
If no --work-dir(-W) option is given, logfiles/pidfiles will be opened relatively to directory specified by --images-dir(-D), if there is no -D and no -W ethier, all
files will be opened relatively to current directory.
Ruslan Kuprieiev (5):
crtools: add --work-dir(-W) option
crtools: chdir to images dir after processing all command line options
LOG_DIR_FD_OFF -> WORK_DIR_FD_OFF
add init_work_dir
log: open pidfile at work dir
cr-service.c | 5 +++++
crtools.c | 27 +++++++++++++++++++++------
include/servicefd.h | 2 +-
include/util.h | 2 ++
log.c | 16 +++++++++++-----
util.c | 25 +++++++++++++++++++++++++
6 files changed, 65 insertions(+), 12 deletions(-)
--
1.8.1.2
More information about the CRIU
mailing list