Changeset 1747 in MondoRescue for branches/2.2.5/mondo/src/common/libmondo-tools.c
- Timestamp:
- Oct 30, 2007, 1:18:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-tools.c
r1744 r1747 938 938 939 939 unlink(MONDO_TRACEFILE); 940 asprintf(&tmp,"rm -Rf %s/changed.files*",M INDI_CACHE);940 asprintf(&tmp,"rm -Rf %s/changed.files*",MONDO_CACHE); 941 941 run_program_and_log_output(tmp, FALSE); 942 942 paranoid_free(tmp); … … 1131 1131 } 1132 1132 #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 }1141 1133 1142 1134 if (system("which " MKE2FS_OR_NEWFS " > /dev/null 2> /dev/null")) {
Note:
See TracChangeset
for help on using the changeset viewer.