linux_mount_options
pub fn detect<P: AsRef<Path>>(target_dir: P) -> Result<MountInfo>
Parsing /proc/mounts to build MountInfo.
/proc/mounts
MountInfo
Make sure the folder exists with std::fs::create_dir_all(target_dir)?;
std::fs::create_dir_all(target_dir)?;