From 77d5f105bf63330350c7bddacdeda914f945590f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 25 Aug 2010 04:58:16 +0200 Subject: cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup This requires the /sys/fs/cgroup to exist. Current git kernels have this, released kernels need a backport of a single patch. --- man/sd_booted.xml | 6 +++--- man/systemd-cgls.xml | 2 +- man/systemd.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'man') diff --git a/man/sd_booted.xml b/man/sd_booted.xml index 15cd6ce4f..841ee1d47 100644 --- a/man/sd_booted.xml +++ b/man/sd_booted.xml @@ -85,11 +85,11 @@ implementation. Internally, this function checks whether the - /cgroup/systemd virtual file + /sys/fs/cgroup/systemd virtual file system is mounted, by comparing the st_dev value of the stat() data of - /cgroup and - /cgroup/systemd. + /sys/fs/cgroup and + /sys/fs/cgroup/systemd. For details about the algorithm check the liberally licensed reference implementation sources: diff --git a/man/systemd-cgls.xml b/man/systemd-cgls.xml index da3e0cac7..8546e3943 100644 --- a/man/systemd-cgls.xml +++ b/man/systemd-cgls.xml @@ -65,7 +65,7 @@ file paths or are assumed in the systemd control group hierarchy. If no argument is specified and the current working directory is beneath the control group mount - point /cgroup shows the contents + point /sys/fs/cgroup shows the contents of the control group the working directory refers to. Otherwise the full systemd control group hierarchy is shown. diff --git a/man/systemd.xml b/man/systemd.xml index 6edce4996..edd824d31 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -388,7 +388,7 @@ track of processes. Control group information is maintained in the kernel, and is accessible via the file system hierarchy (beneath - /cgroup/systemd/), or in tools + /sys/fs/cgroup/systemd/), or in tools such as ps1 (ps xawf -eo pid,user,cgroup,args -- cgit v1.2.3