Function diskotech::by_diskseq

source ·
pub fn by_diskseq(data: &mut Map) -> Result<()>
Expand description

Get map of disk sequence (1, 2, etc.) to logical name (/dev/sda, etc.). Equivalent to running ls -l /dev/disk/by-diskseq.

Errors

Returns an error if any of the file I/O fails.