Ignore:
Timestamp:
Jun 17, 2009, 3:09:22 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Usage of partprobe at restore time if possible
  • fix call to fdisk into parted2fdisk
File:
1 edited

Legend:

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

    r2211 r2222  
    16861686        if (!run_program_and_log_output(tmp, 5)) {
    16871687            g_partition_table_locked_up++;
     1688        }
     1689        sprintf(tmp, "partprobe %s", drivename);
     1690        if (!run_program_and_log_output(tmp, 5)) {
     1691            g_partition_table_locked_up--;
     1692        }
     1693        if (g_partition_table_locked_up > 0) {
    16881694            log_to_screen
    1689                 ("A flaw in the Linux kernel has locked the partition table.");
     1695                ("A flaw in the Linux kernel has locked the partition table. Even calling partprobe did not suceed :-(");
    16901696        }
    16911697    }
Note: See TracChangeset for help on using the changeset viewer.