* More debug output.
* We apparently cannot use constants like kPartitionTypeIntelExtended in static array initializers in the kernel. * Fixed misunderstanding between Axel (boot loader) and me (Intel partitioning system module) how to deal with the cookie the identify() hook returns. We switch to a someone cleaner method by always invoking free_identify_cookie() for it, even if it were passed to scan(). Since we want to keep the cookie, we add a reference counter to it. This should fix a couple of issues with recognizing the boot partition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12185 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -40,13 +40,13 @@ static const struct partition_type kPartitionTypes[] = {
|
||||
{ 0x02, "Xenix root" },
|
||||
{ 0x03, "Xenix user" },
|
||||
{ 0x04, "FAT 16-bit (dos 3.0)" },
|
||||
{ 0x05, /*"Extended Partition"*/kPartitionTypeIntelExtended },
|
||||
{ 0x05, /*"Extended Partition"*/INTEL_EXTENDED_PARTITION_NAME },
|
||||
{ 0x06, "FAT 16-bit (dos 3.31)" },
|
||||
{ 0x07, "OS/2 IFS, Windows NT, Advanced Unix" },
|
||||
{ 0x0b, "FAT 32-bit" },
|
||||
{ 0x0c, "FAT 32-bit, LBA-mapped" },
|
||||
{ 0x0d, "FAT 16-bit, LBA-mapped" },
|
||||
{ 0x0f, /*"Extended Partition, LBA-mapped"*/kPartitionTypeIntelExtended },
|
||||
{ 0x0f, /*"Extended Partition, LBA-mapped"*/INTEL_EXTENDED_PARTITION_NAME },
|
||||
{ 0x42, "Windows 2000 marker (switches to a proprietary partition table)" },
|
||||
{ 0x4d, "QNX 4" },
|
||||
{ 0x4e, "QNX 4 2nd part" },
|
||||
@@ -54,7 +54,7 @@ static const struct partition_type kPartitionTypes[] = {
|
||||
{ 0x78, "XOSL boot loader" },
|
||||
{ 0x82, "Linux swapfile" },
|
||||
{ 0x83, "Linux native" },
|
||||
{ 0x85, /*"Linux extendend partition"*/kPartitionTypeIntelExtended },
|
||||
{ 0x85, /*"Linux extendend partition"*/INTEL_EXTENDED_PARTITION_NAME },
|
||||
{ 0xa5, "FreeBSD" },
|
||||
{ 0xa6, "OpenBSD" },
|
||||
{ 0xa7, "NextSTEP" },
|
||||
@@ -62,7 +62,7 @@ static const struct partition_type kPartitionTypes[] = {
|
||||
{ 0xa9, "NetBSD" },
|
||||
{ 0xab, "MacOS X boot" },
|
||||
{ 0xbe, "Solaris 8 boot" },
|
||||
{ 0xeb, /*"BeOS"*/ kPartitionTypeBFS },
|
||||
{ 0xeb, /*"BeOS"*/ BFS_NAME },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user