Changeset 1044 in MondoRescue for branches/stable/mondo/src/common/libmondo-tools.c
- Timestamp:
- Jan 9, 2007, 12:54:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-tools.c
r998 r1044 1087 1087 #endif 1088 1088 1089 if ((Lres = free_space_on_given_partition("/root")) == -1) { 1090 Lres = free_space_on_given_partition("/"); 1091 } 1089 Lres = free_space_on_given_partition("/var/cache"); 1092 1090 log_it("Free space on given partition = %ld MB", Lres); 1093 1091 1094 1092 if (Lres < 50) { 1095 run_program_and_log_output 1096 ("rm -Rf /root/images/mindi; mkdir -p /home/root/images/mindi; mkdir -p /root/images; ln -sf /home/root/images/mindi /root/images/mindi", 1097 3); 1098 // fatal_error("Your / (or /root) partition has <50MB free. Please adjust your partition table to something saner."); 1093 fatal_error("Your /var/cache partition has <50MB free. Please adjust your partition table to something saner."); 1099 1094 } 1100 1095
Note:
See TracChangeset
for help on using the changeset viewer.