Changeset 1437 in MondoRescue for branches/2.2.4/mondo/src/common/libmondo-tools.c
- Timestamp:
- May 10, 2007, 11:41:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.4/mondo/src/common/libmondo-tools.c
r1381 r1437 1100 1100 #endif 1101 1101 1102 if ((Lres = free_space_on_given_partition("/root")) == -1) { 1103 Lres = free_space_on_given_partition("/"); 1104 } 1105 log_it("Free space on given partition = %ld MB", Lres); 1102 Lres = free_space_on_given_partition(MINDI_CACHE); 1103 log_it("Free space on partition of %s = %ld MB", MINDI_CACHE, Lres); 1106 1104 1107 1105 if (Lres < 50) { 1108 run_program_and_log_output 1109 ("rm -Rf /root/images/mindi; mkdir -p /home/root/images/mindi; mkdir -p /root/images; ln -sf /home/root/images/mindi /root/images/mindi", 1110 3); 1111 // fatal_error("Your / (or /root) partition has <50MB free. Please adjust your partition table to something saner."); 1106 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); 1107 fatal_error(tmp); 1112 1108 } 1113 1109
Note:
See TracChangeset
for help on using the changeset viewer.