25 lines
897 B
Diff
25 lines
897 B
Diff
From c94d39764a46fc834e7a996c5131605875fc667e Mon Sep 17 00:00:00 2001
|
|
From: Ziyang Zhou <ziyang.zhou@outlook.com>
|
|
Date: Fri, 17 Dec 2021 22:44:33 +0800
|
|
Subject: [PATCH 4/6] ignore devfs mount
|
|
|
|
---
|
|
init/first_stage_init.cpp | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/init/first_stage_init.cpp b/init/first_stage_init.cpp
|
|
index fdad43a..5d1d3dd 100644
|
|
--- a/init/first_stage_init.cpp
|
|
+++ b/init/first_stage_init.cpp
|
|
@@ -331,7 +331,6 @@ int FirstStageMain(int argc, char** argv) {
|
|
CHECKCALL(setenv("PATH", _PATH_DEFPATH, 1));
|
|
// Get the basic filesystem setup we need put together in the initramdisk
|
|
// on / and then we'll let the rc file figure out the rest.
|
|
- CHECKCALL(mount("tmpfs", "/dev", "tmpfs", MS_NOSUID, "mode=0755"));
|
|
CHECKCALL(mkdir("/dev/pts", 0755));
|
|
CHECKCALL(mkdir("/dev/socket", 0755));
|
|
CHECKCALL(mkdir("/dev/dm-user", 0755));
|
|
--
|
|
2.49.0
|
|
|