pub fn get_device_from_path(
    dev_path: impl AsRef<Path>
) -> BlockResult<(Option<u64>, Option<Device>)>
Expand description

returns the device info and possibly partition entry for the device with the path or symlink given