Mounting /proc, /sys and /dev in the chroot
Dependencies
- [2]
ODUDDQRYAdding the OCaml interface
Change contents
- edit in src/container.rs at line 486
for dir in ["proc", "sys", "dev"] {let tmp = tmp_dir.join(dir);std::fs::create_dir_all(&tmp)?;if let Ok(m) = mount::Mount::bind(Path::new("/").join(dir), &tmp) {std::mem::forget(m)}}