Structsยง
- Device
Info ๐ - Disk
Collector - Snapshot ๐
Constantsยง
- SECTOR_
BYTES ๐
Functionsยง
- block_
attr ๐ - discover_
devices ๐ - Discover all whole-disk block devices from /sys/block/ and cache their static identity. Called once in DiskCollector::new().
- mounts_
for_ ๐device - Read /proc/mounts and return filesystem space for all mount points whose
source device path starts with
/dev/<device_name>(covers partitions too). - read_
device_ ๐info - statvfs_
space ๐ - sysfs_
read ๐
Type Aliasesยง
- Result ๐