diff options
Diffstat (limited to 'packages/busybox/files')
-rwxr-xr-x | packages/busybox/files/mdev | 12 | ||||
-rw-r--r-- | packages/busybox/files/mdev.conf | 25 |
2 files changed, 37 insertions, 0 deletions
diff --git a/packages/busybox/files/mdev b/packages/busybox/files/mdev new file mode 100755 index 0000000000..6512730536 --- /dev/null +++ b/packages/busybox/files/mdev @@ -0,0 +1,12 @@ +#!/bin/sh + +mount -t sysfs sysfs /sys +mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 + +mkdir /dev/pts /dev/shm + +mount -t devpts devpts /dev/pts + +echo "/bin/mdev" >/proc/sys/kernel/hotplug + +mdev -s diff --git a/packages/busybox/files/mdev.conf b/packages/busybox/files/mdev.conf new file mode 100644 index 0000000000..b5a4e70209 --- /dev/null +++ b/packages/busybox/files/mdev.conf @@ -0,0 +1,25 @@ +console 0:0 0600 +cpu_dma_latency 0:0 0660 +fb0:0 44 0660 +full 0:0 0666 +initctl 0:0 0600 +ircomm[0-9]* 0:20 0660 +kmem 0:15 0640 +kmsg 0:0 0660 +log 0:0 0666 +loop[0-9]* 0:6 0640 +mem 0:15 0640 +network_latency 0:0 0660 +network_throughput 0:0 0660 +null 0:0 0666 +port 0:15 0640 +ptmx 0:5 0666 +ram[0-9]* 0:6 0640 +random 0:0 0666 +sda 0:6 0640 +tty 0:5 0666 +tty* 0:0 0620 +urandom 0:0 0666 +usbdev* 0:0 0660 +vcs* 0:5 0660 +zero 0:0 0666 |