Function block_utils::is_disk

source ·
pub fn is_disk(dev_path: impl AsRef<Path>) -> BlockResult<bool>
Expand description

check if the path is a disk device path