Changeset 1487 in MondoRescue


Ignore:
Timestamp:
Jun 6, 2007, 1:25:17 AM (17 years ago)
Author:
Bruno Cornec
Message:

Use MINDI_TMP in analyze-my-lvm (good practice and may solve an issue with selinux)

File:
1 edited

Legend:

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

    r1236 r1487  
    5353GenerateLvcreateParameters() {
    5454    local device stripes stripesize device fname allocation output readahead
    55     fname=/tmp/PLF.$$.txt
     55    fname=$MINDI_TMP/PLF.$$.txt
    5656    device=$1
    5757    output=""
     
    8181    local current_VG device fname incoming VG_info_file max_logical_volumes max_physical_volumes physical_extent_size output blanklines
    8282    current_VG=$1
    83     VG_info_file=/tmp/$$.vg-info.txt
     83    VG_info_file=$MINDI_TMP/$$.vg-info.txt
    8484    $LVMCMD vgdisplay $current_VG > $VG_info_file
    8585    max_logical_volumes=`GetValueFromField "$VG_info_file" "MAX LV"`
Note: See TracChangeset for help on using the changeset viewer.