From 878bda6780aa63d531c05fb3347ca64d41994854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 13 Jan 2010 15:46:08 +0000 Subject: [PATCH] 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 --- .../kernel/partitioning_systems/intel/PartitionMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp b/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp index ba8021e44c..a28b55f8c0 100644 --- a/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp +++ b/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp @@ -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; }