fn parse_mountinfo(mountinfo: &str, path: &Path) -> Option<FsInfo>Expand description
Longest mount point that is a prefix of path. path is already canonicalized.
When two mounts share the same mount point (an overmount stacking a new mount on an existing
path), the later line in /proc/self/mountinfo is the one currently visible there.
Iterator::max_by_key returns the last maximal element on a tie, so preserving the file’s
line order here (rather than, say, sorting) is load-bearing for that tie-break.