From f471fb47f10aba86c480eed9599d4ad9cba4cbab Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Thu, 16 Jan 2025 16:51:08 +0100 Subject: [PATCH] Remove sys mount --- code/cargo-maelstrom.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/cargo-maelstrom.toml b/code/cargo-maelstrom.toml index a5a2f59e0..3f05263a6 100644 --- a/code/cargo-maelstrom.toml +++ b/code/cargo-maelstrom.toml @@ -27,7 +27,7 @@ enable_writable_file_system = true # This layer just includes files and directories for mounting the following # file-systems and devices. layers = [ - { stubs = [ "/{proc,sys,tmp,etc}/", "/dev/{full,null,random,urandom,zero}" ] }, + { stubs = [ "/{proc,tmp,etc}/", "/dev/{full,null,random,urandom,zero}" ] }, { paths = ["/etc/resolv.conf"], follow_symlinks = true }, ] @@ -36,7 +36,7 @@ layers = [ mounts = [ { type = "tmp", mount_point = "/tmp" }, { type = "proc", mount_point = "/proc" }, - { type = "sys", mount_point = "/sys" }, + # { type = "sys", mount_point = "/sys" }, { type = "devices", devices = ["full", "null", "random", "urandom", "zero"] }, ]