Changeset 3563 in MondoRescue for branches/3.0-mindi-2.1/mindi/analyze-my-lvm


Ignore:
Timestamp:
Apr 11, 2016, 7:43:30 PM (8 years ago)
Author:
Bruno Cornec
Message:

Many additional backports from 3.2 and 3.0 future

  • Improved support for systemd
  • Launch start-netfs when a network conf is detected in the conf file to avoid an error later on in automatic mode
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0-mindi-2.1/mindi/analyze-my-lvm

    r3561 r3563  
    1313GetValueFromField() {
    1414    local res
    15     grep -i "$2" "$1" | perl -pi -e 's/\s*(.*)\s\s\s+(.+)$/$2/;s/\sT[i]*B/t/;s/\sG[i]*B/g/;s/\sM[i]*B/m/;s/\sK[i]*B/k/'
     15    grep -i "$2" "$1" | perl -p -e 's/\s*(.*)\s\s\s+(.+)$/$2/;s/\sT[i]*B/t/;s/\sG[i]*B/g/;s/\sM[i]*B/m/;s/\sK[i]*B/k/'
    1616}
    1717
     
    7575    fi
    7676
    77     echo "# $LVMCMD echo y | lvcreate$params -n $logical_volume $volume_group"
     77    echo "# echo y | $LVMCMD lvcreate$params -n $logical_volume $volume_group"
    7878}
    7979
Note: See TracChangeset for help on using the changeset viewer.