Skip to content

Commit

Permalink
Fix mistake in e30cc9d (missing dev_overlays)
Browse files Browse the repository at this point in the history
  • Loading branch information
avdgrinten committed May 29, 2021
1 parent e30cc9d commit d64ff03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit d64ff03

Please sign in to comment.