is_same_as_host

Function is_same_as_host 

Source
pub fn is_same_as_host(path: &Utf8Path) -> Result<bool>
Expand description

If the fsid of the passed path matches the fsid of the same path rooted at /proc/1/root, it is assumed that these are indeed the same mounted filesystem between container and host. Path should be absolute.