]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
check multiple devpts instance
authorMôshe van der Sterre <moshevds@gmail.com>
Mon, 20 Apr 2009 20:10:59 +0000 (22:10 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 20 Apr 2009 20:10:59 +0000 (22:10 +0200)
Hello,

It took me some thinking to figure out DEVPTS_MULTIPLE_INSTANCES was disabled.
Maybe checking for it in lxc-checkconfig will be helpfull to others.

Greetings,
Môshe van der Sterre

Signed-off-by: Môshe van der Sterre <moshevds@gmail.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-checkconfig.in

index 9cf29ddf93d24146329889f36f1d06816cea9c09..e951eff70952dd85efcaec2f595c429f1fc516d3 100755 (executable)
@@ -51,6 +51,7 @@ echo -n "Ipc namespace: " && is_enabled CONFIG_IPC_NS yes
 echo -n "Pid namespace: " && is_enabled CONFIG_PID_NS yes
 echo -n "User namespace: " && is_enabled CONFIG_USER_NS
 echo -n "Network namespace: " && is_enabled CONFIG_NET_NS
+echo -n "Multiple /dev/pts instances: " && is_enabled DEVPTS_MULTIPLE_INSTANCES
 echo
 echo "--- Control groups ---"
 echo -n "Cgroup: " && is_enabled CONFIG_CGROUPS