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
This commit is contained in:
5
include/device_table.txt
Normal file
5
include/device_table.txt
Normal file
@@ -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 -
|
||||
Reference in New Issue
Block a user