PEFlag Question

User discussion and information resource forum for the TeraByte OS Deployment Tool Suite.
Post Reply
tas3086
Posts: 317
Joined: Mon Mar 19, 2012 6:15 pm

PEFlag Question

Post by tas3086 »

I often see PEFlags of (hex) 0, 2000, and 4000. ( none , bootable, embr/bootITBM)
I have just started seeing a value of 8000000000000000 This value does not seem to be documented. It is produced by the h=gethdinfo(n) ..... (h.partition[pn].peflag).

This is for a 3TB disk that is Microsoft GPT partitioned.
The Microsoft Reserved Partition has a PEFlag 0f 0
The only other partition that gethdinfo shows is a correct partition name, drive letter, and this very long peflag.
It happens under both Windows and DOS.
Sample:
HDNum:2-1-0 name:Microsoft reserved partition id:2@0x1 DrvLtr: BUS:SATA PEFlag:0
HDNum:2-2-0 name:I_DRIVE id:2@0x2 DrvLtr: I BUS:SATA PEFlag:8000000000000000

Any ideas as to what it means? GPT maybe?
Eric
Posts: 224
Joined: Mon Sep 05, 2011 6:53 pm
Location: France

Re: PEFlag Question

Post by Eric »

This value doesn't mean it's gpt, but it is related. It's just an attribute (for which the first bit is on). The "Windows RE" partitions have it set to 0x8000...001, I suppose.
You can see within BIBM what it means ("properties ->flags")
Post Reply