Skip to main content

discover_devices

Function discover_devices 

Source
fn discover_devices() -> HashMap<String, DeviceInfo>
Expand description

Discover all whole-disk block devices from /sys/block/ and cache their static identity. Called once in DiskCollector::new().