podman/pkg/util
Giuseppe Scrivano f6b91d7be0
inspect: Ignore character devices for IO limits
Cgroup block I/O limits cannot be applied to character devices.

Ignore character devices in the inspect output.

Update the API tests to use the null block device `/dev/nullb0` (if
available) instead of `/dev/zero` for testing I/O limits.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-04-30 16:21:38 +02:00
..
camelcase Fix typos 2023-02-11 18:23:24 +01:00
changes.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
changes_test.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
filters.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
filters_test.go bump go to 1.22 2024-09-03 15:14:15 +02:00
kube.go Kube Play - allow creating image based volumes 2024-01-24 11:55:29 +02:00
mount_opts.go Fix: Remove appending rw as the default mount option 2025-04-23 17:18:03 +05:30
mount_opts_linux.go util: rename files to snake case 2024-03-21 11:33:02 +01:00
mount_opts_other.go util: rename files to snake case 2024-03-21 11:33:02 +01:00
utils.go pkg/util: remove redundant min/max helper functions 2025-03-06 21:39:36 +08:00
utils_darwin.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_linux.go inspect: Ignore character devices for IO limits 2025-04-30 16:21:38 +02:00
utils_linux_test.go Match VT device paths to be blocked from mounting exactly 2023-01-28 05:18:40 -05:00
utils_supported.go util: specify a not empty pause dir for root too 2024-05-06 12:14:00 +02:00
utils_test.go Fix: Remove appending rw as the default mount option 2025-04-23 17:18:03 +05:30
utils_unsupported.go inspect: Ignore character devices for IO limits 2025-04-30 16:21:38 +02:00
utils_windows.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00