remove mdev from initramfs for more speed, you can change creation of static device nodes in packages/linux/config/initramfs if you have more then 4 disks or/with more then 8 partitions

This commit is contained in:
Stephan Raue
2009-08-03 02:33:04 +02:00
parent c02ebf78df
commit d84a779473
3 changed files with 47 additions and 8 deletions

View File

@@ -6,10 +6,11 @@
BOOT=`/bin/busybox cat /proc/cmdline | /bin/busybox sed 's/.*boot=// ; s/ .*//'`
DISK=`/bin/busybox cat /proc/cmdline | /bin/busybox sed 's/.*disk=// ; s/ .*//'`
/bin/busybox mdev -s
# /bin/busybox mdev -s
/bin/busybox mount -o ro,noatime $BOOT /flash
/bin/busybox mount -o rw,noatime $DISK /storage
# /bin/busybox mount -t ramfs none /storage
if [ -f "/storage/.update/openelec.kernel" ]; then
echo "updating Kernel..."