[−][src]Function block_utils::get_block_devices
pub fn get_block_devices() -> BlockResult<Vec<PathBuf>>
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