X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Fmbr.c;h=9de8fcd9d4cc322f4eb8e733235402b09e7bd6ac;hb=6aeca47f9311da25dfd9308c99cba9950b178d55;hp=67fdbce03d592f5410c9bddbc195587cebb8a1c1;hpb=d0b4559f2936f6d9f06be0f7c3c51527a480ec0d;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/LVM/mbr.c b/KernelLand/Modules/Storage/LVM/mbr.c index 67fdbce0..9de8fcd9 100644 --- a/KernelLand/Modules/Storage/LVM/mbr.c +++ b/KernelLand/Modules/Storage/LVM/mbr.c @@ -73,6 +73,14 @@ int LVM_MBR_CountSubvolumes(tLVM_Vol *Volume, void *FirstSector) numPartitions ++; } } + // Detect the GPT protector + if( extendedLBA == 0 && numPartitions == 1 && MBR->Parts[0].SystemID == 0xEE ) + { + // TODO: Hand off to GPT parsing code + Log_Warning("LBA MBR", "TODO: Hand off to GPT"); + } + + // Handle extended partions while(extendedLBA != 0) { extendedLBA = LVM_MBR_int_ReadExt(Volume, extendedLBA, &base, &len);