Function blackout_target::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.