Changeset 2731 in MondoRescue for branches/2.2.9/mondo/src/common/libmondo-mountlist.c
- Timestamp:
- Feb 26, 2011, 5:37:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-mountlist.c
r2665 r2731 399 399 400 400 if (physical_drive_size < 0) { 401 mr_asprintf(&tmp, " %s does not exist.", drive); 402 log_it(tmp); 403 mr_strcat(flaws_str, "%s", tmp); 404 res++; 405 mr_free(tmp); 406 goto endoffunc; 401 if (strstr(drive,"/dev/dm-") != NULL) { 402 mr_asprintf(&tmp, " %s does not exist.", drive); 403 log_it(tmp); 404 mr_strcat(flaws_str, "%s", tmp); 405 res++; 406 mr_free(tmp); 407 goto endoffunc; 408 } else { 409 mr_asprintf(&tmp, " %s (dm) will be setup later on", drive); 410 log_it(tmp); 411 mr_free(tmp); 412 } 407 413 } else { 408 414 mr_asprintf(&tmp, "%s is %ld MB", drive, physical_drive_size);
Note:
See TracChangeset
for help on using the changeset viewer.