Changeset 745 in MondoRescue
- Timestamp:
- Aug 5, 2006, 1:16:00 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r744 r745 1421 1421 1422 1422 current_lvolume="$current_partition" 1423 if [ $LVM = "v2" ] && [ "`$LVMCMD pvdisplay $current_partition 2> /dev/null`" ]; then1423 if [ $LVM = "v2" ] && [ "`$LVMCMD lvdisplay $current_partition 2> /dev/null`" ]; then 1424 1424 partition_stub="`echo "$current_partition" | sed "s|^/dev/mapper/|/dev/|" | cut -d"-" -f1`" 1425 1425 current_lvolume="`find /dev -lname "$current_partition" | grep "^$partition_stub"`" … … 1427 1427 # End of LVM device style variation code (other than $current_lvolume). 1428 1428 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 1430 1431 partition_size="lvm" 1431 1432 else
Note:
See TracChangeset
for help on using the changeset viewer.