diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-08-27 12:02:58 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-08-27 12:02:58 +0000 |
commit | d746a399170e3283798b9c25fe6ba75805970de3 (patch) | |
tree | fcbfe26d5115af0c60327aab41b60b3d38e40db7 /include/device_table.txt | |
parent | d6c43e3f0b4d7a661f2eeeb388c2f4f9754ee6ee (diff) |
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.txt | 5 |
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 - |