Crate diskotech

source ·
Expand description

Utilities for interacting with devices and paths on unixy systems.

Structs

Functions

Get map of disk sequence (1, 2, etc.) to logical name (/dev/sda, etc.). Equivalent to running ls -l /dev/disk/by-diskseq.
Get map of disk/part id -> logical name. Equivalent to an ls -l /dev/disk/by-id command.
Get map of disk labels (mydisk, etc.) to logical name (/dev/sda, etc.). Equivalent to running ls -l /dev/disk/by-label.
Collect and correlate all the disk information.

Type Definitions