Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=2577130d30f42aa1b40d86533f7e23cd9eaef4d9
commit 2577130d30f42aa1b40d86533f7e23cd9eaef4d9 Author: James Buren <[email protected]> Date: Sun Aug 26 17:22:06 2012 -0500 add empty purpose for Dos Partition diff --git a/DosPartition.hh b/DosPartition.hh index d880cd5..5902792 100644 --- a/DosPartition.hh +++ b/DosPartition.hh @@ -24,6 +24,8 @@ public: _dos_type = 0xFD; else if(purpose == "lvm") _dos_type = 0x8E; + else if(purpose == "empty") + _dos_type = 0x00; } unsigned char getType() { return _dos_type; } virtual bool getActive() { return _dos_active; } @@ -43,6 +45,8 @@ public: return "raid"; case 0x8E: return "lvm"; + case 0x00: + return "empty"; default: return "unknown"; } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
