Expand description
Utilities for interacting with devices and paths on unixy systems.
Structs§
Functions§
- by_
diskseq - Get map of disk sequence (1, 2, etc.) to logical name (/dev/sda, etc.).
Equivalent to running
ls -l /dev/disk/by-diskseq
. - by_id
- Get map of disk/part id -> logical name. Equivalent to an
ls -l /dev/disk/by-id
command. - by_
label - Get map of disk labels (mydisk, etc.) to logical name (/dev/sda, etc.).
Equivalent to running
ls -l /dev/disk/by-label
. - collect
- Collect and correlate all the disk information.