search for: p_partitions

Displaying 3 results from an estimated 3 matches for "p_partitions".

2014 Jul 16
2
Re: virt-resize: support to MBR logical partitions and some question
...g#part_add "/dev/sdb" (mbr_part_type p) p.p_target_start p.p_target_end; > if p.p_type = ContentExtendedPartition then > List.iter ( > fun p -> > g#part_add "/dev/sdb" "logical" p.p_target_start p.p_target_end > ) p.p_partitions > with > G.Error msg -> > eprintf "lsof:\n---\n%s\n---\n" (g#debug "sh" [| "lsof" |]); > eprintf "original error:\n" msg; > exit 1 > > This should tell you which processes have partitions open, which > shoul...
2014 Jul 15
2
Re: virt-resize: support to MBR logical partitions and some question
Hi Rich, On Wed, Jun 04, 2014 at 10:02:55AM +0100, Richard W.M. Jones wrote: > > On Wed, Jun 04, 2014 at 10:21:41AM +0800, Hu Tao wrote: > > Hi, > > > > I'm adding support to resizing logical partitions(patch is in progess). > > But encounter an error when adding a logical partition in dest image: > > > > virt-resize: libguestfs error: part_add:
2014 Sep 08
3
Re: [RFC PATCH] resize: add support for MBR logical partitions some question
...dhat.com/archives/libguestfs/2014-July/msg00051.html > + p_part_num: int; (* partition number *) I think you should split out this change into a separate patch. It's uncontroversial to keep p_part_num in the structure, and will simplify review of the patch. > + mutable p_partitions : partition list; (* MBR logical partitions. Non-empty > + list implies extended partition I'm very unclear about this change to the structure. Originally 'type partition' is a single primary/extended partition, and we keep a list of them...