Ignore:
Timestamp:
Apr 12, 2010, 3:23:24 PM (10 years ago)
Author:
Bruno Cornec
Message:

r3783@localhost: bruno | 2010-04-11 11:57:27 +0200

  • Use MINDI_CACHE for temp file communication between archive/restore
  • Remove some now useless globals in mondo
  • Remove function get_cfg_file_from_archive_or_bust and get_cfg_file_from_archive
  • Adds function get_cfg_file_from_initrd (Not finished)
  • Recovery doesn't work in that version atm (checkpoint version)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2605 r2623  
    18471847    mkdir -p $bigdir/tmp
    18481848    if [ $LVM != "false" ]; then
    1849         $MINDI_DATA/analyze-my-lvm > $bigdir/tmp/i-want-my-lvm
     1849        $MINDI_DATA/analyze-my-lvm > $bigdir$MINDI_CACHE/i-want-my-lvm
    18501850        if [ "$?" -ne "0" ]; then
    18511851            LVM="false"
    1852             rm -f $bigdir/tmp/i-want-my-lvm
     1852            rm -f $bigdir$MINDI_CACHE/i-want-my-lvm
    18531853        else
    18541854            LogFile "Your i-want-my-lvm file content is:"
    18551855            LogFile "-----------------------------------"
    1856             cat  $bigdir/tmp/i-want-my-lvm >> $LOGFILE
     1856            cat  $bigdir$MINDI_CACHE/i-want-my-lvm >> $LOGFILE
    18571857            LogFile "-----------------------------------"
    18581858        fi
    1859     fi
    1860 
    1861     if [ _"$MONDO_SHARE" != _"" ]; then
    1862         for q in filelist.full.gz biggielist.txt ; do
    1863             [ ! -e "$MINDI_TMP/$q" ] && Die "Cannot find $MINDI_TMP/$q"
    1864             cp -pRdf $MINDI_TMP/$q $bigdir/tmp 2>> $LOGFILE
    1865         done
    18661859    fi
    18671860
Note: See TracChangeset for help on using the changeset viewer.