Function diskotech::by_diskseq
source · 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.