package
1.2.4
Repository: https://github.com/opencontainers/runc.git
Documentation: pkg.go.dev

# Functions

DeviceFromPath takes the path to a device and its cgroup_permissions (which cannot be easily queried) to look up the information about a linux device and returns that information as a Device struct.
GetDevices recursively traverses a directory specified by path and returns all devices found there.
HostDevices returns all devices that can be found under /dev directory.

# Constants

# Variables

ErrNotADevice denotes that a file is not a valid linux device.

# Structs

# Type aliases

Permissions is a cgroupv1-style string to represent device access.