Changeset 678


Ignore:
Timestamp:
Jun 24, 2006, 6:08:01 PM (13 years ago)
Author:
bcornec
Message:

Fix a bug in analyze-my-lvm for RHEL3 where vgdisplay prints an additional field sometimes (#). Report and proposal by severine.lombardo_at_acoss.fr

Location:
branches/stable
Files:
2 edited

Legend:

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

    r673 r678  
    169169
    170170ListLvmDrivesAndPartitions() {
    171     $LVMCMD vgdisplay -v |grep "PV Name" | awk '{print $3}'
     171    $LVMCMD vgdisplay -v |grep "PV Name" | sed 's/(#)//' | awk '{print $3}'
    172172}
    173173
  • branches/stable/mondo/mondo/common/libmondo-tools.c

    r558 r678  
    605605
    606606    run_program_and_log_output("uname -a", 5);
     607    run_program_and_log_output("cat /etc/*-release", 5);
    607608    run_program_and_log_output("cat /etc/*issue*", 5);
    608609    sprintf(g_tmpfs_mountpt, "%s/tmpfs", bkpinfo->tmpdir);
Note: See TracChangeset for help on using the changeset viewer.