find_mount_option

Function find_mount_option 

Source
pub(crate) fn find_mount_option<'a>(
    option_string_list: &'a str,
    optname: &str,
) -> Option<&'a str>
Expand description

Given an mount option string list like foo,bar=baz,something=else,ro parse it and find the first entry like $optname= This will not match a bare optname without an equals.