Ignore:
Timestamp:
Apr 14, 2007, 3:15:26 PM (17 years ago)
Author:
Bruno Cornec
Message:

NFS needs the fscache module on FC6 (at least)

File:
1 edited

Legend:

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

    r1295 r1298  
    433433
    434434    for (curr_part_no = 1; curr_part_no < 99; curr_part_no++) {
    435         if ((strstr(device, "/cciss/") != NULL) ||
    436             (strstr(device, "/ataraid/") != NULL) ||
    437             (strstr(device, "/ida/") != NULL) ||
    438             (strstr(device, "/rd/") != NULL)) {
    439                 sprintf(device, "%sp%d", drive, curr_part_no);
    440             } else {   
    441                 sprintf(device, "%s%d", drive, curr_part_no);
    442             }
     435        build_partition_name(device, drive, curr_part_no);
    443436        pos = find_device_in_mountlist(mountlist, device);
    444437        if (pos < 0) {
    445             continue;
    446         }
    447         if (physical_drive_size < 0) {
    448             sprintf(tmp, " %s refers to non-existent hardware.", device);
    449             log_it(tmp);
    450             strcat(flaws_str, tmp);
    451             res++;
    452438            continue;
    453439        }
Note: See TracChangeset for help on using the changeset viewer.