[Libguestfs] [PATCH v3 1/7] resize: introduce partition_type

Hu Tao hutao at cn.fujitsu.com
Mon Sep 22 07:47:34 UTC 2014


Signed-off-by: Hu Tao <hutao at cn.fujitsu.com>
---
 resize/resize.ml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/resize/resize.ml b/resize/resize.ml
index 356303c..72c4da2 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -73,6 +73,9 @@ and partition_id =
   | MBR_ID of int                (* MBR ID. *)
   | GPT_Type of string           (* GPT UUID. *)
 
+type partition_type =
+  | PrimaryPartition
+
 let rec debug_partition p =
   eprintf "%s:\n" p.p_name;
   eprintf "\tpartition data: %ld %Ld-%Ld (%Ld bytes)\n"
-- 
1.9.3




More information about the Libguestfs mailing list