Browse Source

early: changed init.sh to use devtmpfs which obsoletes the initial population of /dev through mdev

user/chris/test/early-mdev
Christian Wiese 14 years ago
parent
commit
a9e98ef85f
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      target/early/initramfs/init.sh

+ 2
- 6
target/early/initramfs/init.sh

@ -63,18 +63,14 @@ status
[ -x /bin/dmesg ] && /bin/dmesg -n 3
title "Preparing /dev"
check mount -n -t tmpfs none /dev
title "Mounting devtmpfs at /dev"
check mount -n -t devtmpfs devtmpfs /dev
status
title "Setting mdev as kernel hotplug helper"
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
status
title "Populating initial devices"
check mdev -s
status
if [ -x /sbin/modprobe -a -n "$modules" ]; then
title "Preloading requested kernel modules"
for x in $modules; do

Loading…
Cancel
Save