Returns the first partition in partitions
matching all of matchers.
Ok(None) indicates no
partitions matched.
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.
TODO(https://fxbug.dev/339491886): Remove when all clients are ported to find_block_device
.
Waits for the first partition service instance that meets all of the requirements of matchers
.
Returns the path to the matched block device.
TODO(https://fxbug.dev/339491886): Remove when all clients are ported to
`wait_for_block_device_devfs.
Waits for a block device to appear in /dev/class/block
that meets all of the requirements of
matchers
. Returns the path to the matched block device.
TODO(https://fxbug.dev/339491886): Remove when all clients are ported to
wait_for_block_device
.