- Timestamp:
- Apr 26, 2016, 3:08:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/mondorestore/mondo-prep.c
r3569 r3570 1287 1287 int i; 1288 1288 FILE *pout_to_fdisk = NULL; 1289 char *part_table_fmt = NULL; 1289 1290 1290 1291 #ifdef __FreeBSD__ … … 1437 1438 1438 1439 #ifndef __IA64__ 1439 /* TODO: In GPT and NOT in IA64 this is failse ! */ 1440 if (current_devno == 5 && previous_devno == 4) { 1441 log_to_screen("You must leave at least one partition spare as the Extended partition."); 1442 paranoid_free(device_str); 1443 mr_free(format); 1444 return (1); 1445 } 1440 part_table_fmt = which_partition_format(drivename); 1441 1442 /* MBR needs an extended partition if more than 4 partitions */ 1443 if (strcmp(part_table_fmt, "MBR") == 0) { 1444 if (current_devno == 5 && previous_devno == 4) { 1445 log_to_screen("You must leave at least one partition spare as the Extended partition."); 1446 paranoid_free(device_str); 1447 mr_free(format); 1448 return (1); 1449 } 1450 } 1451 mr_free(part_table_fmt); 1446 1452 #endif 1447 1453
Note:
See TracChangeset
for help on using the changeset viewer.