mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Merge pull request #15438 from edsantiago/docs_dedup_devicecgrouprule
[CI:DOCS] Man pages: refactor common options: --device-cgroup-rule
This commit is contained in:
6
docs/source/markdown/options/device-cgroup-rule.md
Normal file
6
docs/source/markdown/options/device-cgroup-rule.md
Normal 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)).
|
@ -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*
|
||||
|
||||
|
@ -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*
|
||||
|
||||
|
Reference in New Issue
Block a user