summaryrefslogtreecommitdiff
path: root/target/qemu-x86_64/files/etc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-10-31 17:50:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-10-31 17:50:39 +0100
commit1dcee6fbc23e59cd5a2111e74ae4915d56576174 (patch)
tree3a30a2543c2fe7270662f085545bf3efddc86be6 /target/qemu-x86_64/files/etc
parent16011e402a22d0830aefdb23cb77f886199c265b (diff)
finetune qemu-cris, add qemu-x86_64
Diffstat (limited to 'target/qemu-x86_64/files/etc')
-rw-r--r--target/qemu-x86_64/files/etc/inittab4
-rw-r--r--target/qemu-x86_64/files/etc/mdev.conf17
2 files changed, 21 insertions, 0 deletions
diff --git a/target/qemu-x86_64/files/etc/inittab b/target/qemu-x86_64/files/etc/inittab
new file mode 100644
index 000000000..6f21e703b
--- /dev/null
+++ b/target/qemu-x86_64/files/etc/inittab
@@ -0,0 +1,4 @@
+::sysinit:/etc/init.d/rcS
+::shutdown:/etc/init.d/rcK
+ttyS0::respawn:/sbin/getty -i -L ttyS0 115200 vt100
+tty1::respawn:/sbin/getty -i -L tty1 115200 vt100
diff --git a/target/qemu-x86_64/files/etc/mdev.conf b/target/qemu-x86_64/files/etc/mdev.conf
new file mode 100644
index 000000000..5d78ab110
--- /dev/null
+++ b/target/qemu-x86_64/files/etc/mdev.conf
@@ -0,0 +1,17 @@
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+tun 0:0 660 >net/tun
+device-mapper 0:0 660 @mkdir /dev/mapper
+null 0:0 777
+zero 0:0 666
+u?random 0:0 644
+console 0:0 0600
+ptmx 0:0 666
+tty 0:0 666
+ttyS* 0:0 640
+audio root:audio 660 >snd/audio
+dsp root:audio 660 >snd/dsp
+timer root:audio 660 >snd/timer
+controlC0 root:audio 660 >snd/controlC0
+pcmC0D0c root:audio 660 >snd/pcmC0D0c
+pcmC0D0p root:audio 660 >snd/pcmC0D0p
+.* 0:0 644 @/lib/mdev/init