storage_isolated_driver_manager

Function find_block_device

Source
pub async fn find_block_device(
    matchers: &[BlockDeviceMatcher<'_>],
) -> Result<PathBuf>
Expand description

Looks for a block device already in /dev/class/block that meets all of the requirements of matchers. Returns the path to the matched block device.