[][src]Function block_utils::get_mount_device

pub fn get_mount_device(
    mount_dir: impl AsRef<Path>
) -> BlockResult<Option<PathBuf>>

Parse mtab and return the device which is mounted at a given directory