filesystem: mount devtmpfs if not already mounted.
This commit is contained in:
parent
0456bd2193
commit
bbbdb9d54e
@ -14,6 +14,10 @@ fi
|
||||
|
||||
sysinit()
|
||||
{
|
||||
if ! [ -c /dev/null ]; then
|
||||
mount -t devtmpfs devtmpfs /dev
|
||||
fi
|
||||
|
||||
if [ -f /.reboot ]; then
|
||||
mount -t proc proc /proc
|
||||
mount -o remount,rw /
|
||||
@ -35,10 +39,7 @@ sysinit()
|
||||
echo /sbin/mdev > /proc/sys/kernel/hotplug &&
|
||||
|
||||
# Update ld cache, populate /dev.
|
||||
# mount -o remount,rw / &&
|
||||
/sbin/mdev -s &&
|
||||
# /sbin/ldconfig &&
|
||||
# mount -o remount,ro / &&
|
||||
|
||||
# Set minimum free kbytes.
|
||||
echo "$cfg_min_free_kbytes" > /proc/sys/vm/min_free_kbytes &&
|
||||
|
Reference in New Issue
Block a user