Function diskotech::by_id

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

Get map of disk/part id -> logical name. Equivalent to an ls -l /dev/disk/by-id command.

Errors

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