]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - docs/CGROUP_DELEGATION.md
Merge pull request #16697 from yuwata/network-fix-suspend-issue
[thirdparty/systemd.git] / docs / CGROUP_DELEGATION.md
index da4e38c6550a5d8fcee532c84cee8d1a9814d910..4011f093228149afa9f184861f5b1c731dce759b 100644 (file)
@@ -21,10 +21,10 @@ comprehensive up-to-date information about all this, particular in light of the
 poor implementations of the components interfacing with systemd of current
 container managers.
 
-Before you read on, please make sure you read the low-level [kernel
-documentation about
-cgroup v2](https://www.kernel.org/doc/Documentation/cgroup-v2.txt). This
-documentation then adds in the higher-level view from systemd.
+Before you read on, please make sure you read the low-level kernel
+documentation about the
+[unified cgroup hierarchy](https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html).
+This document then adds in the higher-level view from systemd.
 
 This document augments the existing documentation we already have:
 
@@ -131,6 +131,8 @@ If you wonder how to detect which of these three modes is currently used, use
 you are either in legacy or hybrid mode. To distinguish these two cases, run
 `statfs()` again on `/sys/fs/cgroup/unified/`. If that succeeds and reports
 `CGROUP2_SUPER_MAGIC` you are in hybrid mode, otherwise not.
+From a shell, you can use check the `Type` in `stat -f /sys/fs/cgroup` and
+`stat -f /sys/fs/cgroup/unified`.
 
 ## systemd's Unit Types