aboutsummaryrefslogtreecommitdiffstats
path: root/include/device_table.txt
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-08-27 12:02:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-08-27 12:02:58 +0000
commit173c4c7527a8c26bfbd375abfde8cad3e82fd619 (patch)
treefcbfe26d5115af0c60327aab41b60b3d38e40db7 /include/device_table.txt
parentd6f3fb1793180eb70226a6534f403763d134e1ac (diff)
downloadmaster-187ad058-173c4c7527a8c26bfbd375abfde8cad3e82fd619.tar.gz
master-187ad058-173c4c7527a8c26bfbd375abfde8cad3e82fd619.tar.bz2
master-187ad058-173c4c7527a8c26bfbd375abfde8cad3e82fd619.zip
image: ensure that /dev/console exist in rootfs images
Linux expects that the /dev/console node is present in the rootfs image. Create the node in rootfs images, in order to make std{in,out,err} usable even in early init process. Note: tar.gz and cpio.gz images are not handled yet. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37847 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/device_table.txt')
-rw-r--r--include/device_table.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/device_table.txt b/include/device_table.txt
new file mode 100644
index 0000000000..f45b158892
--- /dev/null
+++ b/include/device_table.txt
@@ -0,0 +1,5 @@
+# minimal device table file for OpenWrt
+
+#<name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
+/dev d 755 0 0 - - - - -
+/dev/console c 600 0 0 5 1 0 0 -