Changeset 3684 in MondoRescue for branches/3.3/mindi/mr-parted2fdisk


Ignore:
Timestamp:
Aug 30, 2017, 7:24:16 PM (7 years ago)
Author:
Bruno Cornec
Message:
  • Skip a potential Warning when calling parted (Warning: The disk CHS geometry (258,255,63) reported by the operating system does not match the geometry stored on the disk label (1012,128,32).)
  • Improve some error msgs for coherency
  • Improve ansible delivery for perl Hokks to add svn hook support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/mr-parted2fdisk

    r3666 r3684  
    756756    # Skip 2 first lines
    757757    $d = <PARTED>;
     758    # Skip potential warnings first
     759    $d = <PARTED> if ($d =~ /^Warning:/);
    758760    if ($d !~ /^BYT/) {
    759761        die "Your $parted command doesn't behave correctly in machine readable mode";
Note: See TracChangeset for help on using the changeset viewer.