Commit 834f8fc0 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Treat partitions with id="f" as extended

Partitions with id=0x0F are extended partitions with LBA addressing.
parent 33e9b1b1
......@@ -197,7 +197,7 @@ is_extended_partition() {
local part_num="$2"
id=$($SFDISK --print-id "$dev" "$part_num")
if [ "$id" = "5" ]; then
if [ "$id" = "5" -o "$id" = "f" ]; then
echo "yes"
else
echo "no"
......
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