mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
- Display unpartitioned and unformatted entries in a partition table. Fixes problems when installing on an absolutely clean harddisk.
svn path=/trunk/; revision=40506
This commit is contained in:
@@ -1362,7 +1362,8 @@ PrintDiskData (PPARTLIST List,
|
||||
/* Print disk entry */
|
||||
for (i=0; i<4; i++)
|
||||
{
|
||||
if (PartEntry->PartInfo[i].PartitionType != PARTITION_ENTRY_UNUSED)
|
||||
if (PartEntry->PartInfo[i].PartitionType != PARTITION_ENTRY_UNUSED ||
|
||||
PartEntry->PartInfo[i].PartitionLength.QuadPart != 0ULL)
|
||||
{
|
||||
PrintPartitionData (List,
|
||||
DiskEntry,
|
||||
@@ -1370,6 +1371,16 @@ PrintDiskData (PPARTLIST List,
|
||||
i);
|
||||
}
|
||||
}
|
||||
|
||||
/* Print unpartitioned entry */
|
||||
if (PartEntry->Unpartitioned || PartEntry->New)
|
||||
{
|
||||
PrintPartitionData (List,
|
||||
DiskEntry,
|
||||
PartEntry,
|
||||
0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Print separator line */
|
||||
|
||||
Reference in New Issue
Block a user