Changeset 2536 in MondoRescue for branches/2.2.9/mindi/analyze-my-lvm


Ignore:
Timestamp:
Jan 8, 2010, 4:49:02 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3759@localhost: bruno | 2010-01-08 15:18:49 +0100

  • Finally the function ListLvmDrivesAndPartitions is used, as it creates info parsed by mindi !! So reverting back to filter excluded devices in it
File:
1 edited

Legend:

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

    r2534 r2536  
    226226        if [ -f /etc/multipath.conf ]; then
    227227            i=`GiveMapperOfdm $d`
    228             echo $i
     228            rep=$i
    229229        else
    230             echo $d
    231         fi
     230            rep=$d
     231        fi
     232        skip=0
     233        if [ "$EXCLUDE_DEVS" ] ; then
     234            for ed in $EXCLUDE_DEVS ; do
     235                if  [ "`echo " $rep " | grep " $ed"`" != "" ]; then
     236                    skip=1
     237                    continue
     238                fi
     239            done
     240        fi
     241        if [ $skip -eq 1 ]; then
     242            continue
     243        fi
     244        echo $rep
    232245    done
    233246}
Note: See TracChangeset for help on using the changeset viewer.