get_mountpoint

Function get_mountpoint 

Source
pub fn get_mountpoint(device: impl AsRef<Path>) -> BlockResult<Option<PathBuf>>
Expand description

Parse mtab and return the mountpoint the device is mounted at. This is the opposite of get_mount_device