diff --git a/packages/initramfs/sysutils/busybox-initramfs/scripts/init b/packages/initramfs/sysutils/busybox-initramfs/scripts/init index 5dcb5fa53f..7541981e88 100755 --- a/packages/initramfs/sysutils/busybox-initramfs/scripts/init +++ b/packages/initramfs/sysutils/busybox-initramfs/scripts/init @@ -23,9 +23,9 @@ ################################################################################ # mount all needed special filesystems - /bin/busybox mount -t devtmpfs none /dev - /bin/busybox mount -t proc none /proc - /bin/busybox mount -t sysfs none /sys + /bin/busybox mount -t devtmpfs devtmpfs /dev + /bin/busybox mount -t proc proc /proc + /bin/busybox mount -t sysfs sysfs /sys # set needed variables MODULE_DIR=/lib/modules diff --git a/packages/sysutils/busybox/init.d/01_mount-filesystem b/packages/sysutils/busybox/init.d/01_mount-filesystem index 1ae9128f70..0e95388875 100644 --- a/packages/sysutils/busybox/init.d/01_mount-filesystem +++ b/packages/sysutils/busybox/init.d/01_mount-filesystem @@ -25,10 +25,10 @@ progress "mounting needed filesystems" mkdir -p /dev/pts - mount -n -t devpts -o gid=5,mode=620 none /dev/pts + mount -n -t devpts -o gid=5,mode=620 devpts /dev/pts mkdir -p /dev/shm - mount -n -t tmpfs none /dev/shm + mount -n -t tmpfs -o size=20% tmpfs /dev/shm - mount -n -t ramfs none /var - mount -n -t debugfs none /sys/kernel/debug + mount -n -t tmpfs -o size=10m tmpfs /var + mount -n -t debugfs debugfs /sys/kernel/debug