]> git.ipfire.org Git - thirdparty/systemd.git/commit
file-hierarchy: Document /sys/fs/cgroup
authorJosh Triplett <josh@joshtriplett.org>
Fri, 25 Feb 2022 20:40:45 +0000 (12:40 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 1 Mar 2022 07:34:08 +0000 (08:34 +0100)
commitc8aeb9d672fac7ac2d1e350431b7b4e734b90a5d
tree37154b1a1577177fa4b94efb5b413e33968c767e
parentee6fd6a50922d2b27c97084e1c3f9872d495c273
file-hierarchy: Document /sys/fs/cgroup

file-hierarchy does not mention anything about the expected mountpoint
for cgroups. This may lead some software to believe it will need to
search for it (e.g. by scanning mountinfo) rather than just looking in
the canonical location.

Document the canonical mountpoint as /sys/fs/cgroup. Also provide
information on the non-default configurations, but
make it clear that in such configurations if cgroup2 is mounted (hybrid
mode) it won't have resource controllers attached. This will help
software know if it should fall back to /sys/fs/cgroup/unified or just
ignore that case.
man/file-hierarchy.xml