Ignore:
Timestamp:
Apr 15, 2007, 2:33:22 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Some FreeBSD fixes
  • Better messages for partition names
  • May improve the gap issue on cciss
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mondo/src/mondorestore/mondo-prep.c

    r746 r1303  
    12841284
    12851285    if (devno_we_must_allow_for >= 5) {
    1286         sprintf(tmp, "Making dummy primary %s%d", drivename, 1);
     1286        sprintf(tmp, "Making dummy primary 1 on %s", drivename);
    12871287        log_it(tmp);
    12881288        g_maximum_progress++;
     
    12981298    }
    12991299    for (; current_devno < devno_we_must_allow_for; current_devno++) {
    1300         sprintf(tmp, "Creating dummy partition %s%d", drivename,
    1301                 current_devno);
     1300        sprintf(tmp, "Creating dummy partition %d on %s", current_devno, drivename);
    13021301        log_it(tmp);
    13031302        g_maximum_progress++;
     
    19791978        strcpy(tmp, last_line_of_file(FDISK_LOG));
    19801979        if (strstr(tmp, " (m ")) {
    1981             log_msg(1, "Successfully created %s%d", drive, partno);
     1980            log_msg(1, "Successfully created partition %d on %s", partno, drive);
    19821981        } else {
    19831982            log_msg(1, "last line = %s", tmp);
    1984             log_msg(1, "Failed to create %s%d; sending 'Enter'...", drive,
    1985                     partno);
     1983            log_msg(1, "Failed to create partition %d on %s; sending 'Enter'...", partno, drive);
    19861984        }
    19871985        if (!retval) {
    1988             log_msg(1, "Trying to set %s%d's partition type now", drive,
    1989                     partno);
     1986            log_msg(1, "Trying to set partition %d type now on %s", partno, drive);
    19901987            retval =
    19911988                set_partition_type(pout_to_fdisk, drive, partno, format,
     
    22072204    } else if (strcmp(format, "ext2") == 0
    22082205               || strcmp(format, "reiserfs") == 0
    2209                || strcmp(format, "ext3") == 0 || strcmp(format, "xfs") == 0
     2206               || strcmp(format, "ext3") == 0
     2207               || strcmp(format, "xfs") == 0
    22102208               || strcmp(format, "jfs") == 0) {
    22112209        strcpy(partcode, "83");
     
    25842582        } else {
    25852583            sprintf(tmp, "Skipping %s", mountlist->el[partno].device);
    2586 //                      log_to_screen(tmp);
     2584//            log_to_screen(tmp);
    25872585        }
    25882586    }
Note: See TracChangeset for help on using the changeset viewer.