Changeset 1824 in MondoRescue for branches/2.2.5/mindi/rootfs/sbin/init


Ignore:
Timestamp:
Nov 29, 2007, 1:12:14 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Some VMWare support improvements (however, it seems that VMWare support won't be possible anytime soon)
  • during init at restore time, copy all static evices availble for udev, as some distro implementation are not yet supported correctly for udev. Not very elegant, but should solve our current issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/rootfs/sbin/init

    r1820 r1824  
    309309        /sbin/udevsettle
    310310    fi
     311    # It seems we need to have more static devs on some distro were
     312    # udev as some other requirements to be covered later on.
     313    # So in the mean time:
     314    for d in `ls /dev.static`; do
     315        if [ ! -e /dev/$d ]; then
     316            mv /dev.static/$d /dev
     317        fi
     318    done
    311319    echo $PKLVL > /proc/sys/kernel/printk
    312320}
     
    587595mkdir /sys 2> /dev/null
    588596mount /sys/ /sys -v -t sysfs 2>> $LOGFILE
     597# For ESX 3
     598[ -d /proc/vmware ] && ! grep -q /vmfs /proc/mounts && mount -t vmfs /vmfs /vmfs
    589599rm -f /foozero
    590600
Note: See TracChangeset for help on using the changeset viewer.