[PATCH 3/4] Trim out device nodes we do not have to actually create.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If plymouth needs more, it can add them back in the hooks.

If there are any more nodes we can get rid of, feel free.
---
 init |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/init b/init
index c3f5150..f5b4177 100755
--- a/init
+++ b/init
@@ -40,16 +40,12 @@ mount -t sysfs /sys /sys
 mount -t tmpfs -omode=0755 udev /dev
 read CMDLINE </proc/cmdline;
 
-
-# FIXME: what device nodes does plymouth really _need_ ?
+# Make some basic devices first, let udev handle the rest
 mknod /dev/ptmx c 5 2
-mknod /dev/console c 5 0
-mknod /dev/fb c 29 0
+mknod /dev/null c 1 3
+mknod /dev/console c 5 1
 mkdir /dev/pts
 mount -t devpts -o gid=5,mode=620 /dev/pts /dev/pts
-mknod /dev/tty0 c 4 0
-mknod /dev/tty1 c 4 1
-mknod /dev/null c 1 3
 
 # pre-udev scripts run before udev starts, and are run only once.
 source_all pre-udev
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux