Function fs_management::partition::find_partition
source ยท pub async fn find_partition(
matcher: PartitionMatcher,
timeout: Duration,
) -> 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.