mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
Disable partition table exploration, as long as it displays an error message if disk is not partitioned
svn path=/trunk/; revision=40636
This commit is contained in:
parent
0d56a2b19d
commit
a6f21e5d07
1 changed files with 2 additions and 0 deletions
|
@ -536,6 +536,7 @@ SetHarddiskIdentifier(PCONFIGURATION_COMPONENT_DATA DiskKey,
|
|||
sprintf(ArcName, "multi(0)disk(0)rdisk(%lu)partition(0)", DriveNumber - 0x80);
|
||||
FsRegisterDevice(ArcName, &DiskVtbl);
|
||||
|
||||
#if 0
|
||||
/* Add partitions */
|
||||
i = 0;
|
||||
while (MachDiskGetPartitionEntry(DriveNumber, i, &PartitionTableEntry))
|
||||
|
@ -547,6 +548,7 @@ SetHarddiskIdentifier(PCONFIGURATION_COMPONENT_DATA DiskKey,
|
|||
}
|
||||
i++;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Convert checksum and signature to identifier string */
|
||||
Identifier[0] = Hex[(Checksum >> 28) & 0x0F];
|
||||
|
|
Loading…
Reference in a new issue