diff --git a/src/main.rs b/src/main.rs index 119c0e3..97bb633 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,6 +82,7 @@ fn run_init(cfg: &Config) -> ! { // Perform mounts of /dev, /dev/pts, /dev/shm, /run and /tmp. + let dev_overlays = vec!["tty", "null", "zero", "full", "random", "urandom"]; for f in dev_overlays { nix::mount::mount( Some(&Path::new("/dev/").join(f)),