Skip to main content

Module sysfs

Module sysfs 

Source
Expand description

InventoryBackend over sysfs: which configured devices are present, which driver each is bound to, and bind/unbind through the driver interface.

Devices come from the manifest (services.planarian.devices.<name>.sysfs), e.g. snd-hda0 → /sys/bus/pci/devices/0000:00:1b.0.

Structs§

Sysfs

Functions§

bus_and_id
/sys/bus/<bus>/devices/<id> → (bus, id).
meminfo 🔒

Type Aliases§

DeviceMap
Device unit name → its sysfs device directory.