blackout_target

Function find_dev

Source
pub async fn find_dev(dev: &str) -> Result<String>
Expand description

Find the device in /dev/class/block that represents a given topological path. Returns the full path of the device in /dev/class/block.