commit | 1dafceb1c9c6a57506fd4cbf57f721efe59afcda | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Sun Dec 11 16:53:12 2016 -0800 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Tue Dec 13 10:20:16 2016 -0800 |
tree | 8193849db30d4186fdf4413759516bd710ea74fe | |
parent | 08bd33d77f59bc74b9f7a2f8d85f9a6ef0f09690 [diff] |
Add filesystem APIs to lib Add make_path to recursively call mkdir as needed to create a given path with the given mode. Add find_cgroup2_mount to lookup path where cgroup2 is mounted. If it is not already mounted, cgroup2 is mounted under /var/run/cgroup2 for use by iproute2. Signed-off-by: David Ahern <dsa@cumulusnetworks.com>