Ignore:
Timestamp:
Jan 9, 2007, 12:54:21 AM (17 years ago)
Author:
Bruno Cornec
Message:

We now use consistently /var/cache/mindi everywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-tools.c

    r998 r1044  
    10871087#endif
    10881088
    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");
    10921090    log_it("Free space on given partition = %ld MB", Lres);
    10931091
    10941092    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.");
    10991094    }
    11001095
Note: See TracChangeset for help on using the changeset viewer.