projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
398d7ba
)
Apply mdev primer of busybox
author
Sebastian Pipping
<sebastian@pipping.org>
Mon, 7 Feb 2011 18:47:10 +0000
(19:47 +0100)
committer
Sebastian Pipping
<sebastian@pipping.org>
Mon, 7 Feb 2011 18:47:10 +0000
(19:47 +0100)
defaults/initrd.scripts
patch
|
blob
|
history
diff --git
a/defaults/initrd.scripts
b/defaults/initrd.scripts
index 1fda57d2864ab2552b636266ee2a9499bbaf40ee..6bfdc0549e8e1767e509ec29f85f8f673bda9f63 100755
(executable)
--- 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
}