pub async fn find_partition(
matcher: PartitionMatcher,
timeout: MonotonicDuration,
) -> Result<ControllerProxy, Error>
Expand description
Waits for a partition to appear on BLOCK_DEV_PATH that matches the fields in the PartitionMatcher. Returns the path of the partition if found. Errors after timeout duration.