Changeset 2530 in MondoRescue
- Timestamp:
- Jan 8, 2010, 1:18:29 PM (15 years ago)
- Location:
- branches/2.2.9/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/analyze-my-lvm
r2526 r2530 179 179 for d in `$LVMCMD vgdisplay -v 2> /dev/null | grep "PV Name" | sed 's/(#)//' | awk '{print $3}'`; do 180 180 # Skip devices excluded, coming from mondoarchive 181 if [ "$EXCLUDE_DEVS" ] && [ "`echo " $EXCLUDE_DEVS " | grep " $d "`" ]; then181 if [ "$EXCLUDE_DEVS" ] && [ "`echo " $EXCLUDE_DEVS " | grep " $d"`" != "" ]; then 182 182 continue 183 183 fi … … 185 185 if [ -f /etc/multipath.conf ]; then 186 186 i=`GiveMapperOfdm $d` 187 if [ "$EXCLUDE_DEVS" ] && [ "`echo " $EXCLUDE_DEVS " | grep " $i "`" ]; then187 if [ "$EXCLUDE_DEVS" ] && [ "`echo " $EXCLUDE_DEVS " | grep " $i"`" != "" ]; then 188 188 continue 189 189 fi -
branches/2.2.9/mindi/mindi
r2529 r2530 1267 1267 fi 1268 1268 fi 1269 skip=0 1269 1270 if [ "$EXCLUDE_DEVS" ] ; then 1270 1271 for d in "$EXCLUDE_DEVS" ; do 1271 1272 if [ "`echo " $current_partition " | grep " $d"`" != "" ]; then 1272 1273 echo "Excluding $current_partition from mountlist (due to excluded device $d)" >> $LOGFILE 1273 continue 1274 continue 1275 skip=1 1274 1276 fi 1275 1277 done 1278 fi 1279 if [ $skip -eq 1 ]; then 1280 continue 1276 1281 fi 1277 1282 if [ ! "$partition_mountpt" ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.