Function block_utils::get_mount_device
source · [−]pub fn get_mount_device(
mount_dir: impl AsRef<Path>
) -> BlockResult<Option<PathBuf>>Expand description
Parse mtab and return the device which is mounted at a given directory