diff options
author | 2011-02-07 19:47:10 +0100 | |
---|---|---|
committer | 2011-02-07 19:47:10 +0100 | |
commit | c3165cd02f00a2e27656acb93df26e7b4276d8d2 (patch) | |
tree | 20049444f7481c15be9548a0453e24d5d065fd37 | |
parent | Use tmpfs if devtmpfs is not available (diff) | |
download | genkernel-c3165cd02f00a2e27656acb93df26e7b4276d8d2.tar.gz genkernel-c3165cd02f00a2e27656acb93df26e7b4276d8d2.tar.bz2 genkernel-c3165cd02f00a2e27656acb93df26e7b4276d8d2.zip |
Apply mdev primer of busybox
-rwxr-xr-x | defaults/initrd.scripts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 1fda57d2..6bfdc054 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -316,6 +316,10 @@ runmdev() { # Options copied from /etc/init.d/udev-mount, should probably be kept in sync mount -t $devfs -o "exec,nosuid,mode=0755,size=10M" udev /dev + + # http://git.busybox.net/busybox/plain/docs/mdev.txt + mkdir /dev/pts + mount -t devpts devpts /dev/pts mdev -s } |