summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-01-08 03:35:05 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-01-08 09:31:15 -0600
commitc2d7f40b2e0837f5544e6e2bfc22dc12e994ed16 (patch)
treea804b943e68af5bb3a535731975029cfe1d40585
parentcd0b3911131ee0eddc32c5e3992036c2e769948f (diff)
Create some basic device nodes on initialization
We need, at the very least, these three device nodes (null, console, and zero) created before we get udev up and running Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xrc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 05e2303..dabeb9d 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -19,6 +19,11 @@ printsep
mount -n -t ramfs none /dev
mount -n -t proc none /proc
+# Create our default nodes that minilogd may need
+/bin/mknod /dev/null c 1 3
+/bin/mknod /dev/zero c 1 5
+/bin/mknod /dev/console c 5 1
+
# start up our mini logger until syslog takes over
/sbin/minilogd