setup_sys_mount

Function setup_sys_mount 

Source
pub(crate) fn setup_sys_mount(fstype: &str, fspath: &str) -> Result<()>
Expand description

By default, podman/docker etc. when passed --privileged mount /sys as read-only, but non-recursively. We selectively grab sub-filesystems that we need.