aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
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")