Displaying 5 results from an estimated 5 matches for "tbootable".
Did you mean:
bootable
2015 May 18
1
[PATCH v2] resize: add sector size in debug_partition
...art /^ sectsize) (p.p_part.G.part_end /^ sectsize)
+ ((p.p_part.G.part_end +^ 1L -^ p.p_part.G.part_start) /^ sectsize);
+ printf "\ttarget partition sector data: %Ld-%Ld (%Ld sectors)\n"
+ p.p_target_start p.p_target_end (p.p_target_end +^ 1L -^ p.p_target_start);
printf "\tbootable: %b\n" p.p_bootable;
printf "\tpartition ID: %s\n"
(match p.p_id with
--
2.1.0
2014 Feb 03
2
[PATCH] resize: properly restore GPT partition types
...(* MBR ID, if it has one. *)
+ p_gpt_type : string option; (* GPT ID, if it has one. *)
p_type : partition_content; (* Content type and content size. *)
(* What we're going to do: *)
@@ -75,7 +76,14 @@ let rec debug_partition p =
p.p_part.G.part_size;
eprintf "\tbootable: %b\n" p.p_bootable;
eprintf "\tpartition ID: %s\n"
- (match p.p_mbr_id with None -> "(none)" | Some i -> sprintf "0x%x" i);
+ (match p.p_mbr_id, p.p_gpt_type with
+ | None, None -> "(none)"
+ | Some i, None -> sprintf "0x...
2015 May 14
1
[PATCH] resize: show sector infor in debug_partition
...p.p_part.G.part_end
p.p_part.G.part_size;
+ printf "\tpartition sector data: %Ld-%Ld\n"
+ (p.p_part.G.part_start /^ sectsize) (p.p_part.G.part_end /^ sectsize);
+ printf "\ttarget partition sector data: %Ld-%Ld \n"
+ p.p_target_start p.p_target_end;
printf "\tbootable: %b\n" p.p_bootable;
printf "\tpartition ID: %s\n"
(match p.p_id with
@@ -545,7 +549,7 @@ read the man page virt-resize(1).
if verbose then (
printf "%d partitions found\n" (List.length partitions);
- List.iter debug_partition partitions
+ List.iter...
2014 Feb 03
0
Re: [PATCH] resize: properly restore GPT partition types
...> + p_gpt_type : string option; (* GPT ID, if it has one. *)
> p_type : partition_content; (* Content type and content size. *)
>
> (* What we're going to do: *)
> @@ -75,7 +76,14 @@ let rec debug_partition p =
> p.p_part.G.part_size;
> eprintf "\tbootable: %b\n" p.p_bootable;
> eprintf "\tpartition ID: %s\n"
> - (match p.p_mbr_id with None -> "(none)" | Some i -> sprintf "0x%x" i);
> + (match p.p_mbr_id, p.p_gpt_type with
> + | None, None -> "(none)"
> + | Some i, No...
2015 May 18
2
[PATCH] resize: add sector size in debug_partition
...art /^ sectsize) (p.p_part.G.part_end /^ sectsize)
+ ((p.p_part.G.part_end -^ p.p_part.G.part_start) /^ sectsize +^ 1L);
+ printf "\ttarget partition sector data: %Ld-%Ld (%Ld sectors)\n"
+ p.p_target_start p.p_target_end (p.p_target_end -^ p.p_target_start +^ 1L);
printf "\tbootable: %b\n" p.p_bootable;
printf "\tpartition ID: %s\n"
(match p.p_id with
--
2.1.0