Changeset 3048


Ignore:
Timestamp:
Oct 9, 2012, 5:53:49 PM (7 years ago)
Author:
bruno
Message:
  • Adds a print before exiting fdisk after disk repartition to check whther the boot flag is indeed setup correctly by mondorestore.
File:
1 edited

Legend:

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

    r3044 r3048  
    16971697        fput_string_one_char_at_a_time(pout_to_fdisk, tmp);
    16981698// close fdisk
     1699        fput_string_one_char_at_a_time(pout_to_fdisk, "p\n");
    16991700        fput_string_one_char_at_a_time(pout_to_fdisk, "w\n");
    17001701        system("sync");
     
    17051706        system(tmp);
    17061707        log_msg(0,
    1707                 "------------------- end of fdisk.log... word! ------------------");
     1708                "------------------- end of fdisk.log...       ------------------");
    17081709        sprintf(tmp, "tail -n6 %s | grep -F \"16: \"", FDISK_LOG);
    17091710        if (!run_program_and_log_output(tmp, 5)) {
Note: See TracChangeset for help on using the changeset viewer.