Changeset 3367 for branches


Ignore:
Timestamp:
Mar 20, 2015, 8:20:16 AM (5 years ago)
Author:
Bruno Cornec
Message:
  • Add support for msdos disk type reporting by parted with -s option (2.3 version of parted)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/parted2fdisk.pl

    r3364 r3367  
    778778open (PARTED, "$parted -s $device print|") || die "Unable to read from $fdisk";
    779779while (<PARTED>) {
    780     if ($_ =~ /Disk label type: msdos/) {
     780    if (($_ =~ /Disk label type: msdos/) || ($_ =~ /Partition Table: msdos/)) {
    781781        $type= "msdos";
    782782        print FLOG "Found a msdos partition format\n";
Note: See TracChangeset for help on using the changeset viewer.