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
commitfd0325324f1f86684f3753a4d51e7937d8744a11 (patch)
tree38ac351a7e6a2c0861ca02c276a149380b4bc754 /include/device_table.txt
parent012f214e6f2e764a0e7d53f11e619fd2b639ddf8 (diff)
downloadupstream-fd0325324f1f86684f3753a4d51e7937d8744a11.tar.gz
upstream-fd0325324f1f86684f3753a4d51e7937d8744a11.tar.bz2
upstream-fd0325324f1f86684f3753a4d51e7937d8744a11.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> SVN-Revision: 37847
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 -