carta
cgroupfs-mount(8)

cgroupfs-mount8

Set up cgroupfs mount hierarchies

Usage

cgroupfs-mount

cgroupfs-umount

Overview

The location for the mounts these scripts create is /sys/fs/cgroup, which is widely regarded as "the place" for these to be mounted (for example, systemd mounts them here as well).

Return value

Zero for success or if it is determined that we can or should not mount, due to user entries in /etc/fstab or pre-existing mounts. Non-zero for explicit failures.

Caveats & diagnostics

It is critically important for the proper operation of these scripts that you do not manually include any cgroup mount points in /etc/fstab. After commenting out any extraneous cgroup entries in /etc/fstab, you should either reboot or manually umount them and then run cgroupfs-mount again.

Restrictions

These scripts intentionally do not do any cgroup management or classification of tasks into cgroups. They are also very intentionally light on configurability (to the point of non-existence) to keep the implementation simple and less error-prone.

Authors

Serge Hallyn and Tianon Gravi

History

This package was originally derived from the cgroup-lite package from Ubuntu.

From cgroupfs-mount 1.4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.