Function block_utils::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