Skip to main content

cgroup_root_relative

Function cgroup_root_relative 

Source
fn cgroup_root_relative(path: &Path) -> String
Expand description

Strip the cgroup mount prefix from a stored cell path, yielding the root-relative cgroup path (e.g. /sys/fs/cgroup/a/b -> /a/b).