]> git.proxmox.com Git - mirror_lxc.git/commit
detect a cgroup named 'lxc'
authorDaniel Lezcano <daniel.lezcano@free.fr>
Mon, 13 Jul 2009 21:12:10 +0000 (23:12 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 13 Jul 2009 21:12:10 +0000 (23:12 +0200)
commit0d9f8e188c1c4832e4f6b9de646478947ae86877
tree3866f968404f4049953cf10415ddc579ceb3eabb
parent2b31f553fab7daa0d62dea9e6e50c7aab2aca0ab
detect a cgroup named 'lxc'

This patch makes lxc to detect a specific cgroup dedicated to lxc
which is mounted with the lxc name. That allows to mount different
cgroup in different places with different options (aka subsystems)
and assign one to be used by lxc. If no such mount point is found,
the first cgroup mount point is used.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
doc/lxc.sgml.in
src/lxc/cgroup.c