Changeset 2579


Ignore:
Timestamp:
Feb 12, 2010, 3:27:07 PM (10 years ago)
Author:
bruno
Message:

analyze-my-lvm now provides an option to call GiveMapperOfdm? that can be used in mindi. Solve #395

Location:
branches/2.2.9/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/analyze-my-lvm

    r2571 r2579  
    325325
    326326# -------------------------------- main -----------------------------------
     327
     328if [ "$1" = "--givemapperofdm" ] ; then
     329    shift
     330    if [ _"$1" != _"" ] ; then
     331        GiveMapperOfdm $1
     332    fi
     333    exit 0
     334fi
     335
     336
    327337which lvmdiskscan 2>/dev/null 2>&1 || Die "lvmdiskscan not found. Won't handle LVM."
    328338if [ -e "/proc/lvm/global" ] && [ "`tr -s '\t' ' ' < /proc/lvm/global | grep "0 VGs 0 PVs 0 LVs"`" != "" ]; then
  • branches/2.2.9/mindi/mindi

    r2577 r2579  
    11931193            list_of_devices="`ReadAllLink $current_partition`"
    11941194            for d in $list_of_devices; do
    1195                 l="$l `GiveMapperOfdm $d`"
     1195                l="$l `$MINDI_LIB/analyze-my-lvm --givemapperofdm $d`"
    11961196            done
    11971197            list_of_devices="`echo $l | sort -u`"
Note: See TracChangeset for help on using the changeset viewer.