Replace mdev with udev in init script and don't mount /proc twice.

This commit is contained in:
Windsome Zeng
2022-08-11 11:32:13 +08:00
parent 683fd1f360
commit d481977e4a
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
# process == program to run
# Startup the system
::sysinit:/bin/mount -t proc proc /proc
# ::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mkdir -p /dev/pts /dev/shm
::sysinit:/bin/mount -a
+1 -1
View File
@@ -4,7 +4,7 @@
# Buildroot's default inittab for BusyBox.
id:3:initdefault:
si0::sysinit:/bin/mount -t proc proc /proc
# si0::sysinit:/bin/mount -t proc proc /proc
si1::sysinit:/bin/mount -o remount,rw /
si2::sysinit:/bin/mkdir -p /dev/pts /dev/shm
si3::sysinit:/bin/mount -a