Function block_utils::is_block_device
source · [−]pub fn is_block_device(device_path: impl AsRef<Path>) -> BlockResult<bool>Expand description
Checks to see if the subsystem this device is using is block
pub fn is_block_device(device_path: impl AsRef<Path>) -> BlockResult<bool>Checks to see if the subsystem this device is using is block