Crate diskotech

Source
Expand description

Utilities for interacting with devices and paths on unixy systems.

Structs§

Record

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.

Type Aliases§

Map