Fixes related to handling of GPTs created under Solaris
This commit is contained in:
@@ -90,7 +90,8 @@ string GPTPart::GetDescription(void) {
|
||||
|
||||
// Return 1 if the partition is in use
|
||||
int GPTPart::IsUsed(void) {
|
||||
return (firstLBA != UINT64_C(0));
|
||||
return (partitionType != GUIDData("0x00"));
|
||||
// return (firstLBA != UINT64_C(0));
|
||||
} // GPTPart::IsUsed()
|
||||
|
||||
// Set the type code to the specified one. Also changes the partition
|
||||
|
||||
Reference in New Issue
Block a user