3
mount -nt proc proc proc
4
rootdev=$(cat proc/sys/kernel/real-root-dev)
5
cmdline=$(cat /proc/cmdline)
7
if [ $rootdev != 256 ]; then
8
mount -nt tmpfs tmpfs /dev2
9
mount -nt proc proc /proc
10
mount -nt devfs devfs /devfs > /dev/null 2>&1
13
if test -f /mnt/etc/fstab ; then
14
ext3root=`awk '!/^ *#/ { if (($2 == "/") && ($3 == "ext3")) {print $1;}}' < /mnt/etc/fstab`
15
ext2root=`awk '!/^ *#/ { if (($2 == "/") && ($3 == "ext2")) {print $1;}}' < /mnt/etc/fstab`
17
umount -n /devfs > /dev/null 2>&1
18
umount -n /mnt > /dev/null 2>&1
19
if test -n "$ext3root" -o -n "$ext2root" ; then
20
mount -nt tmpfs tmpfs /etc
23
if test -n "$ext3root" ; then
24
/sbin/tune2fs -O has_journal /dev2/root2 > /dev/null 2>&1
26
/sbin/tune2fs -O ^has_journal /dev2/root2 > /dev/null 2>&1
31
umount -n /proc > /dev/null 2>&1