Changeset 3064 in MondoRescue


Ignore:
Timestamp:
Nov 11, 2012, 4:52:42 AM (11 years ago)
Author:
Bruno Cornec
Message:

r5048@localhost: bruno | 2012-11-11 02:10:56 +0100

  • Remove a bad line in mindi which maybe the cause for LVM LVs to disappear from the mountlist
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3061 r3064  
    10811081        if [ -h "$c_p" ] && [ "`echo "$c_p" | grep -F "/dev/hd"`" = "" ] && [ "`echo "$c_p" | grep -F "/dev/sd"`" = "" ] && [ "`echo "$c_p" | grep -F "/dev/md"`" = "" ] ; then
    10821082            current_partition=`readlink -f $c_p`
    1083             [ "`echo "$current_partition" | grep -F "/dev/mapper"`" != "" ] && current_partition="$c_p"
    1084 
    10851083            if [ "`echo "$current_partition" | grep -F "/dev/mapper"`" != "" ]; then
    10861084                current_partition="$c_p"
     
    13001298        # Detects iso9660 ISO images and exclude them
    13011299        if [ "`echo "$partition_format" | grep -iw iso9660`" != "" ]; then
    1302                 LogFile "INFO: Excluding $current_partition from mountlist (due to iso8660 format in fstab)"
     1300                LogFile "INFO: Excluding $current_partition from mountlist (due to iso9660 format in fstab)"
    13031301            continue
    13041302        fi
     
    13151313        # into any of the LVM tools if possible.
    13161314
    1317         current_lvolume="$current_partition"
     1315        current_lvolume="$current_partition"
    13181316        if [ $LVM = "v2" ] && [ "`echo $current_partition | grep -E '^/dev/mapper/'`" ]; then
    13191317            # .static dir are a Debian specificity
Note: See TracChangeset for help on using the changeset viewer.