Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=323690ce67f6af751e6e3228bcfdad1731ef9b67

commit 323690ce67f6af751e6e3228bcfdad1731ef9b67
Author: James Buren <[email protected]>
Date:   Sun Aug 26 17:24:58 2012 -0500

add empty purpose for GptPartition

diff --git a/GptPartition.hh b/GptPartition.hh
index 9ff4570..684616a 100644
--- a/GptPartition.hh
+++ b/GptPartition.hh
@@ -27,6 +27,8 @@ public:
_gpt_type = "A19D880F-05FC-4D3B-A006-743F0F84911E";
else if(purpose == "lvm")
_gpt_type = "E6D6D379-F507-44C2-A23C-238F2A3DF928";
+    else if(purpose == "empty")
+      _gpt_type = "00000000-0000-0000-0000-000000000000";
}
string getType() { return _gpt_type; }
string getName() { return _gpt_name; }
@@ -47,6 +49,8 @@ public:
return "raid";
else if(_gpt_type == "E6D6D379-F507-44C2-A23C-238F2A3DF928")
return "lvm";
+    else if(_gpt_type == "00000000-0000-0000-0000-000000000000")
+      return "empty";
else
return "unknown";
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to