From 921bdba937ba11af36d0fe3adf085f9e878021be Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Wed, 11 Oct 2017 02:16:14 +0200 Subject: [PATCH] cmdline: better --rw description --- cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdline.c b/cmdline.c index 1802f5b..fce303c 100644 --- a/cmdline.c +++ b/cmdline.c @@ -65,7 +65,7 @@ struct custom_option custom_opts[] = { { { "config", required_argument, NULL, 'C' }, "Configuration file in the config.proto ProtoBuf format (see configs/ directory for examples)" }, { { "exec_file", required_argument, NULL, 'x' }, "File to exec (default: argv[0])" }, { { "chroot", required_argument, NULL, 'c' }, "Directory containing / of the jail (default: none)" }, - { { "rw", no_argument, NULL, 0x601 }, "Mount / and /proc as RW (default: RO)" }, + { { "rw", no_argument, NULL, 0x601 }, "Mount chroot dir (/) R/W (default: R/O)" }, { { "user", required_argument, NULL, 'u' }, "Username/uid of processess inside the jail (default: your current uid). You can also use inside_ns_uid:outside_ns_uid:count convention here. Can be specified multiple times" }, { { "group", required_argument, NULL, 'g' }, "Groupname/gid of processess inside the jail (default: your current gid). You can also use inside_ns_gid:global_ns_gid:count convention here. Can be specified multiple times" }, { { "hostname", required_argument, NULL, 'H' }, "UTS name (hostname) of the jail (default: 'NSJAIL')" }, @@ -112,7 +112,7 @@ struct custom_option custom_opts[] = { { { "gid_mapping", required_argument, NULL, 'G' }, "Add a custom gid mapping of the form inside_gid:outside_gid:count. Setting this requires newgidmap (set-uid) to be present" }, { { "bindmount_ro", required_argument, NULL, 'R' }, "List of mountpoints to be mounted --bind (ro) inside the container. Can be specified multiple times. Supports 'source' syntax, or 'source:dest'" }, { { "bindmount", required_argument, NULL, 'B' }, "List of mountpoints to be mounted --bind (rw) inside the container. Can be specified multiple times. Supports 'source' syntax, or 'source:dest'" }, - { { "tmpfsmount", required_argument, NULL, 'T' }, "List of mountpoints to be mounted as RW/tmpfs inside the container. Can be specified multiple times. Supports 'dest' syntax" }, + { { "tmpfsmount", required_argument, NULL, 'T' }, "List of mountpoints to be mounted as tmpfs (R/W) inside the container. Can be specified multiple times. Supports 'dest' syntax" }, { { "tmpfs_size", required_argument, NULL, 0x0602 }, "Number of bytes to allocate for tmpfsmounts (default: 4194304)" }, { { "disable_proc", no_argument, NULL, 0x0603 }, "Disable mounting procfs in the jail" }, { { "proc_path", required_argument, NULL, 0x0605 }, "Path used to mount procfs (default: '/proc')" }, -- 2.34.1