Skip to main content

parse_proc_self_mountinfo

Function parse_proc_self_mountinfo 

Source
pub fn parse_proc_self_mountinfo() -> Option<(Vec<Mountinfo>, Vec<Mountinfo>)>
Available on Linux only.
Expand description

Parses /proc/self/mountinfo into vectors of Mountinfo objects, returning (v2_mounts, v1_mounts).