[][src]Function block_utils::get_block_partitions

pub fn get_block_partitions() -> BlockResult<Vec<PathBuf>>

Scan a system and return all block devices that udev knows about This function will only retun the udev devices identified as partition. If it can't discover this it will error on the side of caution and return the device

Non-lazy version of get_block_partitions