get_mount_device

Function 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