Ignore:
Timestamp:
Nov 2, 2006, 2:00:32 AM (13 years ago)
Author:
bruno
Message:

merge -r902:913 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/analyze-my-lvm

    r863 r914  
    9494    allocation=`GetValueFromField $fname "LV Size"`
    9595    [ ! "`echo "$allocation" | grep "[k,m,g]"`" ] && allocation="$allocation"m
    96     if echo "$allocation" | grep -x ".*g" > /dev/null 2> /dev/null ; then
     96    if echo "$allocation" | grep -E '^.*g$' > /dev/null 2> /dev/null ; then
    9797        val=`echo "$allocation" | sed s/g//`
    9898        allocation=`echo "$val" | awk '{c=$1; printf "%d", c*1024;}'`m
     
    169169
    170170ListLvmDrivesAndPartitions() {
    171     $LVMCMD vgdisplay -v 2> /dev/null |grep "PV Name" | sed 's/(#)//' | awk '{print $3}'
     171    $LVMCMD vgdisplay -v 2> /dev/null | grep "PV Name" | sed 's/(#)//' | awk '{print $3}'
    172172}
    173173
Note: See TracChangeset for help on using the changeset viewer.