]> git.proxmox.com Git - mirror_lxc.git/commit
build a set of flags for the different enabled subsystems
authordlezcano <dlezcano>
Thu, 12 Feb 2009 14:47:10 +0000 (14:47 +0000)
committerdlezcano <dlezcano>
Thu, 12 Feb 2009 14:47:10 +0000 (14:47 +0000)
commitdb4aa207ce96fc71d15ad1940f3cbc985e561d57
tree69ba6e5b5c5c072f68a4607132b4b8f8bc702423
parent6c2b975b7d78ad0e0c8647fbd2fc717ef06fa731
build a set of flags for the different enabled subsystems
From: Daniel Lezcano <dlezcano@fr.ibm.com>

When we want to check if a subsystem is enabled, we look at the
presence of a file/directory in the configuration tree files. That
works until we chroot into the rootfs. Some subsystem should be
preferably setup after the chrootfs, making the code simpler and
easier to read. So before setup the different subsystem, I build a
flags set and reuse it later to check if the subsystem is enabled or
not.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc_conf.c