summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef <stef@memberwebs.com>2010-11-27 15:00:01 +0000
committerStef Walter <stef@thewalter.net>2010-12-01 03:56:37 +0000
commita05ea615bf3d3a4a98b4abed83b51e2c6653d886 (patch)
tree204c1d38c7d2c4eb475aeb4d479cef33b877367d /src
parent19207c34ad4f16bc5337fd531e19e70cd57ee360 (diff)
Recognize and don't print out information about 'large' gpt partitions.
Diffstat (limited to 'src')
-rw-r--r--src/list.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c
index b7085ce..05c4fdc 100644
--- a/src/list.c
+++ b/src/list.c
@@ -95,6 +95,11 @@ int printPartitionInfo(int dd, uint64 tblSector)
{
printPartitionInfo(dd, tblSector + mbr.partitions[i].startsec);
}
+ else if(tblSector + mbr.partitions[i].startsec == 1UL &&
+ tblSector + mbr.partitions[i].endsec == 0xFFFFFFFFUL)
+ {
+ printf(" large partition, perhaps using gpt\n");
+ }
else if(!mbr.partitions[i].system == kPartition_Invalid)
{
#ifdef _WIN32