Ignore:
Timestamp:
Oct 30, 2007, 1:18:55 PM (17 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-tools.c

    r1744 r1747  
    938938
    939939    unlink(MONDO_TRACEFILE);
    940     asprintf(&tmp,"rm -Rf %s/changed.files*",MINDI_CACHE);
     940    asprintf(&tmp,"rm -Rf %s/changed.files*",MONDO_CACHE);
    941941    run_program_and_log_output(tmp, FALSE);
    942942    paranoid_free(tmp);
     
    11311131    }
    11321132#endif
    1133 
    1134     Lres = free_space_on_given_partition(MINDI_CACHE);
    1135     log_it("Free space on partition of %s = %ld MB", MINDI_CACHE, Lres);
    1136 
    1137     if (Lres < 50) {
    1138         sprintf(tmp, "The partition of %s has <50MB free. Please free up space or enlarge the partition or make %s a symbolic link.", MINDI_CACHE, MINDI_CACHE);
    1139         fatal_error(tmp);
    1140     }
    11411133
    11421134    if (system("which " MKE2FS_OR_NEWFS " > /dev/null 2> /dev/null")) {
Note: See TracChangeset for help on using the changeset viewer.