[lxc-devel] Check for DEVPTS_MULTIPLE_INSTANCES

Daniel Lezcano dlezcano at fr.ibm.com
Mon Apr 20 20:30:04 UTC 2009


Môshe Van der Sterre wrote:
> 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
> 
> diff --git a/src/lxc/lxc-checkconfig.in b/src/lxc/lxc-checkconfig.in
> index 9cf29dd..9e8beab 100755
> --- a/src/lxc/lxc-checkconfig.in
> +++ b/src/lxc/lxc-checkconfig.in
> @@ -64,3 +64,4 @@ echo
>  echo "--- Misc ---"
>  echo -n "Veth pair device: " && is_enabled CONFIG_VETH
>  echo -n "Macvlan: " && is_enabled CONFIG_MACVLAN
> +echo -n "Multiple /dev/pts instances: " && is_enabled DEVPTS_MULTIPLE_INSTANCES

Manually applied ;)

Thanks Môshe.
   -- Daniel




More information about the lxc-devel mailing list