Udev, devfs, and friends usually only record data in /dev for block and character devices. However, on Linux and OpenBSD at least, the kernel reports events for all kinds of devices, not limited to block and character devices (e.g. network interfaces, power supplies, PCI buses, etc.).
Since a lot of other software would benefit from being able to easily query the state of these extra devices, we'll add helper scripts for these two vdev ports to record device metadata to /dev/metadata/. At the very least, we'll need scripts for power supplies (e.g. batteries, AC lines, UPSs) and network interfaces, since there are immediate consumers of that information (i.e. power applets, network configuration tools, etc.).
Udev, devfs, and friends usually only record data in /dev for block and character devices. However, on Linux and OpenBSD at least, the kernel reports events for all kinds of devices, not limited to block and character devices (e.g. network interfaces, power supplies, PCI buses, etc.).
Since a lot of other software would benefit from being able to easily query the state of these extra devices, we'll add helper scripts for these two vdev ports to record device metadata to /dev/metadata/. At the very least, we'll need scripts for power supplies (e.g. batteries, AC lines, UPSs) and network interfaces, since there are immediate consumers of that information (i.e. power applets, network configuration tools, etc.).