diff options
author | Himbeer <52707839+HimbeerserverDE@users.noreply.github.com> | 2023-03-21 17:35:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 17:35:36 +0100 |
commit | 9cb1e6d223db048a38b919f1594480c77f34846d (patch) | |
tree | da2cf3d49f612cb684cc5e26d8c7fc335a6717f1 | |
parent | 873608cd72b5d3249572abd4ecc8c5c61cfaa2cc (diff) |
mount /proc
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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") |