Displaying 1 result from an estimated 1 matches for "string_of_partition_typ".
Did you mean:
string_of_partition_type
2015 Mar 30
1
[PATCH RFC] resize: add p_mbr_p_type as member of type partition
...lPartition
+ | NoTypePartition
let rec debug_partition p =
printf "%s:\n" p.p_name;
@@ -99,7 +102,8 @@ let rec debug_partition p =
(match p.p_guid with
| Some guid -> guid
| None -> "(none)"
- )
+ );
+ printf "\tpartition type: %s\n" (string_of_partition_type p.p_mbr_p_type)
and string_of_partition_content = function
| ContentUnknown -> "unknown data"
| ContentPV sz -> sprintf "LVM PV (%Ld bytes)" sz
@@ -110,6 +114,11 @@ and string_of_partition_content_no_size = function
| ContentPV _ -> "LVM PV"
| Co...