[−][src]Function block_utils::get_device_from_path
pub fn get_device_from_path(
dev_path: impl AsRef<Path>
) -> BlockResult<(Option<u64>, Option<Device>)>
returns the device info and possibly partition entry for the device with the path or symlink given