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