pub fn open(root: &Path) -> Result<Arc<dyn ContainedFs>, FsError>Expand description
Open best available ContainedFs for root path.
- Linux:
PathrsRoot— kernel-enforced viaopenat2(RESOLVE_IN_ROOT). - Unix non-Linux:
ScopedRoot—safe-pathper-component symlink resolution. - Non-Unix:
CanonicalRoot—canonicalize+ prefix check (best-effort).