Changeset 1298 in MondoRescue for branches/2.2.2/mondo/src/common
- Timestamp:
- Apr 14, 2007, 3:15:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.2/mondo/src/common/libmondo-mountlist.c
r1295 r1298 433 433 434 434 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); 443 436 pos = find_device_in_mountlist(mountlist, device); 444 437 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++;452 438 continue; 453 439 }
Note:
See TracChangeset
for help on using the changeset viewer.