Made the partition type of Solaris 10 partitions known. I am not quite
sure if Solaris uses this type for boot partitions only. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35052 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -83,6 +83,7 @@ static const struct partition_type kPartitionTypes[] = {
|
|||||||
{ 0xab, "MacOS X boot", true },
|
{ 0xab, "MacOS X boot", true },
|
||||||
{ 0xaf, "MacOS X HFS", true },
|
{ 0xaf, "MacOS X HFS", true },
|
||||||
{ 0xbe, "Solaris 8 boot", false },
|
{ 0xbe, "Solaris 8 boot", false },
|
||||||
|
{ 0xbf, "Solaris 10", false },
|
||||||
{ 0xeb, /*"BeOS"*/ BFS_NAME, true },
|
{ 0xeb, /*"BeOS"*/ BFS_NAME, true },
|
||||||
{ 0, NULL, false }
|
{ 0, NULL, false }
|
||||||
};
|
};
|
||||||
@@ -107,8 +108,7 @@ static const char*
|
|||||||
partition_type_string(uint8 type)
|
partition_type_string(uint8 type)
|
||||||
{
|
{
|
||||||
int32 i;
|
int32 i;
|
||||||
for (i = 0; kPartitionTypes[i].name ; i++)
|
for (i = 0; kPartitionTypes[i].name ; i++) {
|
||||||
{
|
|
||||||
if (type == kPartitionTypes[i].type)
|
if (type == kPartitionTypes[i].type)
|
||||||
return kPartitionTypes[i].name;
|
return kPartitionTypes[i].name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user