File: device-cgroup-rule.md

package info (click to toggle)
libpod 4.3.1%2Bds1-8%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,252 kB
  • sloc: sh: 4,696; perl: 2,043; python: 1,908; ansic: 1,188; makefile: 848; xml: 89; ruby: 42; awk: 12
file content (6 lines) | stat: -rw-r--r-- 404 bytes parent folder | download
1
2
3
4
5
6
#### **--device-cgroup-rule**=*"type major:minor mode"*

Add a rule to the cgroup allowed devices list. The rule is expected to be in the format specified in the Linux kernel documentation (Documentation/cgroup-v1/devices.txt):
       - type: a (all), c (char), or b (block);
       - major and minor: either a number, or * for all;
       - mode: a composition of r (read), w (write), and m (mknod(2)).