Changeset 1824 in MondoRescue for branches/2.2.5/mindi/mindi


Ignore:
Timestamp:
Nov 29, 2007, 1:12:14 AM (16 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/mindi

    r1821 r1824  
    970970    grep -vx " *#.*" $MY_FSTAB | grep -vx " *none.*" | $AWK '/^\/dev\/[imhs]d||^LABEL=\/|^UUID=/ && !/fdd|cdr|zip|floppy/ {print $1}'
    971971    [ -e "/etc/raidtab" ] && $AWK '/^ *device/ {print $2}' /etc/raidtab
    972     [ -e "/vmfs/volumes" ] && echo "/vmfs/volumes"
     972    if [ -e "/vmfs/volumes" ]; then
     973        # For VMWare ESX 3 get the device names of these volumes
     974        vdf -P | grep -E '/vmfs/volumes' | awk '{print $1}'
     975    fi
    973976    return
    974977}
Note: See TracChangeset for help on using the changeset viewer.