Function block_utils::is_disk [−][src]
pub fn is_disk(dev_path: impl AsRef<Path>) -> BlockResult<bool>
Expand description
check if the path is a disk device path
pub fn is_disk(dev_path: impl AsRef<Path>) -> BlockResult<bool>
check if the path is a disk device path