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:
Stephan Aßmus
2010-01-13 15:46:08 +00:00
parent 5b0ddd437e
commit 878bda6780
@@ -83,6 +83,7 @@ static const struct partition_type kPartitionTypes[] = {
{ 0xab, "MacOS X boot", true },
{ 0xaf, "MacOS X HFS", true },
{ 0xbe, "Solaris 8 boot", false },
{ 0xbf, "Solaris 10", false },
{ 0xeb, /*"BeOS"*/ BFS_NAME, true },
{ 0, NULL, false }
};
@@ -107,8 +108,7 @@ static const char*
partition_type_string(uint8 type)
{
int32 i;
for (i = 0; kPartitionTypes[i].name ; i++)
{
for (i = 0; kPartitionTypes[i].name ; i++) {
if (type == kPartitionTypes[i].type)
return kPartitionTypes[i].name;
}