Ignore:
Timestamp:
Oct 30, 2007, 1:18:55 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Solve problem on tmpfs in restore init (Problem of inexistant symlink and busybox)
  • Create MONDO_CACHE and use it everywhere + creation at start
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/common/libmondo-archive.c

    r1713 r1747  
    40684068        log_msg(2,
    40694069                "Not verifying again. Per-CD/ISO verification already carried out.");
    4070         sprintf(tmp, "cat %s/changed.files > %s/changed.files 2> /dev/null",bkpinfo->tmpdir, MINDI_CACHE);
     4070        sprintf(tmp, "cat %s/changed.files > %s/changed.files 2> /dev/null",bkpinfo->tmpdir, MONDO_CACHE);
    40714071        paranoid_system(tmp);
    40724072    } else {
     
    41054105        sprintf(tmp,
    41064106                "grep 'afio: ' %s | sed 's/afio: //' | grep -vE '^/dev/.*$' >> %s/changed.files",
    4107                 MONDO_LOGFILE, MINDI_CACHE);
     4107                MONDO_LOGFILE, MONDO_CACHE);
    41084108        system(tmp);
    41094109
    41104110        sprintf(tmp,
    41114111                "grep 'star: ' %s | sed 's/star: //' | grep -vE '^/dev/.*$' >> %s/changed.files",
    4112                 MONDO_LOGFILE, MINDI_CACHE);
     4112                MONDO_LOGFILE, MONDO_CACHE);
    41134113        system(tmp);
    41144114        run_program_and_log_output("umount " MNT_CDROM, FALSE);
     
    41184118//}
    41194119    }
    4120     sprintf(tmp, "%s/changed.files", MINDI_CACHE);
     4120    sprintf(tmp, "%s/changed.files", MONDO_CACHE);
    41214121    diffs = count_lines_in_file(tmp);
    41224122
Note: See TracChangeset for help on using the changeset viewer.