From 227af4b113d9d997608b55d41e23efe07eae6635 Mon Sep 17 00:00:00 2001 From: Matteo Croce Date: Mon, 21 Apr 2008 18:08:05 +0000 Subject: assign names to filesystems when mounting virtual ones (closes #3340) SVN-Revision: 10903 --- package/base-files/files/etc/preinit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'package/base-files/files/etc') diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 66bb1a5cc1..c24035ec3f 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -17,14 +17,14 @@ failsafe() { ash --login } -mount none /proc -t proc -mount none /sys -t sysfs +mount proc /proc -t proc +mount sysfs /sys -t sysfs size=$(awk '/MemTotal:/ {l=5242880;mt=($2*1024);print((s=mt/2) /dev/null; then - mount none /dev -t devfs + mount devfs /dev -t devfs M0=/dev/pty/m0 M1=/dev/pty/m1 HOTPLUG=/sbin/hotplug-call @@ -40,7 +40,7 @@ else fi mkdir -p /dev/pts /dev/shm -mount none /dev/pts -t devpts +mount devpts /dev/pts -t devpts # the shell really doesn't like having stdin/out closed # that's why we use /dev/pty/m0 and m1 as replacement -- cgit v1.2.3