diff options
author | Stef <stef@memberwebs.com> | 2010-11-27 15:00:01 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2010-12-01 03:56:37 +0000 |
commit | a05ea615bf3d3a4a98b4abed83b51e2c6653d886 (patch) | |
tree | 204c1d38c7d2c4eb475aeb4d479cef33b877367d | |
parent | 19207c34ad4f16bc5337fd531e19e70cd57ee360 (diff) |
Recognize and don't print out information about 'large' gpt partitions.
-rw-r--r-- | src/list.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |