Changeset 2617


Ignore:
Timestamp:
Apr 8, 2010, 3:22:28 AM (9 years ago)
Author:
bruno
Message:
  • Fix #415 by avoiding integration of unknown devices report from pvscan (Mike Shapiro)
File:
1 edited

Legend:

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

    r2616 r2617  
    174174ListAllPhysicalVolumes() {
    175175    if [ $lvmversion = 2 ]; then
    176         $LVMCMD pvscan 2> /dev/null | grep 'PV' | awk '{print $2}' >  $MINDI_TMP/pv.tmp
     176        $LVMCMD pvscan 2> /dev/null | grep 'PV' | | grep -v unknown | awk '{print $2}' >  $MINDI_TMP/pv.tmp
    177177    else
    178178        pvscan 2> /dev/null | grep '"' | cut -d'"' -f2  >  $MINDI_TMP/pv.tmp
Note: See TracChangeset for help on using the changeset viewer.