Skip to content
  • David Johnson's avatar
    Add GPT support to Linux slicefix. · f8533dad
    David Johnson authored
    This replaces the hardcoded partition length-based detection of which
    MBR "version" is on disk, when deciding whether or not to rewrite the
    MBR/GPT.  Now we just check the cited MBR/GPT version file, and use that
    length to compare the first partition length.
    
    We also prefer partprobe if it's available, rather than fdisk, for
    forcing a rescan of the disk partition tables.
    f8533dad