Changeset 2526 in MondoRescue


Ignore:
Timestamp:
Jan 7, 2010, 5:45:45 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3733@localhost: bruno | 2010-01-07 16:13:49 +0100

  • Also use the exclude dev feature in case of multipath and exclude resulting /dev/mapper/mpath type of files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/analyze-my-lvm

    r2424 r2526  
    180180        # Skip devices excluded, coming from mondoarchive
    181181        if [ "$EXCLUDE_DEVS" ] && [ "`echo " $EXCLUDE_DEVS " | grep " $d "`" ]; then
    182             continue
     182            continue
    183183        fi
    184         # If multipath check which type of devides are given, mpath prefered
     184        # If multipath check which type of devices are given, mpath prefered
    185185        if [ -f /etc/multipath.conf ]; then
    186             GiveMapperOfdm $d
     186            i=`GiveMapperOfdm $d`
     187            if [ "$EXCLUDE_DEVS" ] && [ "`echo " $EXCLUDE_DEVS " | grep " $i "`" ]; then
     188                continue
     189            fi
     190            echo $i
    187191        else
    188192            echo $d
Note: See TracChangeset for help on using the changeset viewer.