pub fn get_block_devices() -> BlockResult<Vec<PathBuf>>Expand description
Scan a system and return all block devices that udev knows about This function will skip 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_devices_iter()