Skip to main content

parse_container_mounts

Function parse_container_mounts 

Source
pub fn parse_container_mounts(contents: &[u8]) -> Option<Vec<ContainerMount>>
Expand description

Parse a Linux /proc/<pid>/mountinfo snapshot into its rows, in the grammar crate::procfs::parse_mountinfo accepts: None for a malformed row, an optional field this crate cannot map, or a repeated mount ID.