From 9cb1e6d223db048a38b919f1594480c77f34846d Mon Sep 17 00:00:00 2001 From: Himbeer <52707839+HimbeerserverDE@users.noreply.github.com> Date: Tue, 21 Mar 2023 17:35:36 +0100 Subject: mount /proc --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 43f82c5..0112f34 100644 --- a/src/main.rs +++ b/src/main.rs @@ -117,6 +117,10 @@ fn main() -> ExitCode { let _boot_handle = mount_or_halt(1, "/boot", "vfat"); let _data_handle = mount_or_halt(4, "/data", "ext4"); + let _proc_handle = Mount::builder() + .fstype("proc") + .mount("proc", "/proc") + .expect("can't mount /proc procfs"); let _tmp_handle = Mount::builder() .fstype("tmpfs") .mount("tmpfs", "/tmp") -- cgit v1.2.3