Changeset 745 in MondoRescue


Ignore:
Timestamp:
Aug 5, 2006, 1:16:00 AM (18 years ago)
Author:
Bruno Cornec
Message:

Still on LVM !!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r744 r745  
    14211421
    14221422        current_lvolume="$current_partition"
    1423         if [ $LVM = "v2" ] && [ "`$LVMCMD pvdisplay $current_partition 2> /dev/null`" ]; then
     1423        if [ $LVM = "v2" ] && [ "`$LVMCMD lvdisplay $current_partition 2> /dev/null`" ]; then
    14241424            partition_stub="`echo "$current_partition" | sed "s|^/dev/mapper/|/dev/|" | cut -d"-" -f1`"
    14251425            current_lvolume="`find /dev -lname "$current_partition" | grep "^$partition_stub"`"
     
    14271427        # End of LVM device style variation code (other than $current_lvolume).
    14281428
    1429         if [ $LVM != "false" ] && [ "`$LVMCMD pvdisplay $current_lvolume 2> /dev/null`" ]; then
     1429        if [ $LVM != "false" ] && [ "`$LVMCMD lvdisplay $current_lvolume 2> /dev/null`" ]; then
     1430            # Size computed via LVM not directly
    14301431            partition_size="lvm"
    14311432        else
Note: See TracChangeset for help on using the changeset viewer.