Add support for device references by disk path
anatol opened this issue · comments
Each Linux disk has a bus path e.g. pci-0000:00:17.0-ata-4-part1
and can be referenced by it. Booster should be able to handle references like /dev/disk/by-path/pci-0000:00:17.0-ata-4-part1
I am trying to figure out how to compute the devpath for a block device. Let's say I have a /dev/sda1
, is there any API that allows me to get the path that looks like pci-0000:00:17.0-ata-4-part1
?