Changeset 3046 in MondoRescue


Ignore:
Timestamp:
Oct 8, 2012, 4:29:02 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix better #611 by avoiding to use /dev/dm- names in the mountlist creation (msross)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3041 r3046  
    10781078            current_partition=`readlink -f $c_p`
    10791079            [ "`echo "$current_partition" | grep -F "/dev/mapper"`" != "" ] && current_partition="$c_p"
     1080
     1081            if [ "`echo "$current_partition" | grep -F "/dev/mapper"`" != "" ]; then
     1082                current_partition="$c_p"
     1083            elif [ "`echo $current_partition | grep -E '^/dev/dm-'`" ]; then
     1084                current_partition=$(MINDI_LIB/analyze-my-lvm --givemapperofdm $current_parition)
     1085            fi
    10801086            [ "`echo "$useless_dev" | grep -F "$current_partition"`" ] && continue
    10811087        else
Note: See TracChangeset for help on using the changeset viewer.