Ignore:
Timestamp:
Apr 15, 2007, 1:57:44 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • RAM size needs to be bigger on FC6
  • Attempt to fix a core dumped when a Big file doesn't exist and we're unable to create it (report from Nic Watson mondo_at_nicwatson.org)
  • NFS needs the fscache module on FC6 (at least)
  • Use build_partition_name and remove superfluous test (still try to solve cciss gap issue)
File:
1 edited

Legend:

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

    r1297 r1302  
    411411
    412412    for (curr_part_no = 1; curr_part_no < 99; curr_part_no++) {
    413         if ((strstr(device, "/cciss/") != NULL) ||
    414             (strstr(device, "/ataraid/") != NULL) ||
    415             (strstr(device, "/ida/") != NULL) ||
    416             (strstr(device, "/rd/") != NULL)) {
    417                 mr_asprintf(&device, "%sp%d", drive, curr_part_no);
    418                 sprintf(device, "%sp%d", drive, curr_part_no);
    419             } else {   
    420                 mr_asprintf(&device, "%s%d", drive, curr_part_no);
    421             }
     413        malloc_string(device);
     414        build_partition_name(device, drive, curr_part_no);
    422415        pos = find_device_in_mountlist(mountlist, device);
    423416        if (pos < 0) {
    424             continue;
    425         }
    426         if (physical_drive_size < 0) {
    427             mr_asprintf(&tmp, " %s refers to non-existent hardware.", device);
    428             log_it(tmp);
    429             strcat(flaws_str, tmp);
    430             res++;
    431             mr_free(tmp);
    432417            continue;
    433418        }
Note: See TracChangeset for help on using the changeset viewer.