Commit 05a179f3 authored by Mike Hibler's avatar Mike Hibler

Account for the new GPT-savvy sfdisk in Ubuntu16.

parent 4ed3d431
......@@ -277,6 +277,11 @@ sub get_ptabtype($)
return "unknown";
}
# newer sfdisk recognizes GPT
if ($pinfo =~ /Disklabel type: gpt/) {
return "GPT";
}
# if sfdisk detects a GPT, go with it
if ($pinfo =~ /WARNING: GPT \(GUID Partition Table\) detected/) {
return "GPT";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment