Merge pull request #15438 from edsantiago/docs_dedup_devicecgrouprule

[CI:DOCS] Man pages: refactor common options: --device-cgroup-rule
This commit is contained in:
OpenShift Merge Robot
2022-08-23 17:02:18 -04:00
committed by GitHub
3 changed files with 8 additions and 9 deletions

View File

@ -0,0 +1,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)).

View File

@ -144,12 +144,7 @@ Podman may load kernel modules required for using the specified
device. The devices that podman will load modules when necessary are:
/dev/fuse.
#### **--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)).
@@option device-cgroup-rule
#### **--device-read-bps**=*path*

View File

@ -178,9 +178,7 @@ Podman may load kernel modules required for using the specified
device. The devices that Podman will load modules when necessary are:
/dev/fuse.
#### **--device-cgroup-rule**=*rule*
Add a rule to the cgroup allowed devices list
@@option device-cgroup-rule
#### **--device-read-bps**=*path:rate*