Displaying 11 results from an estimated 11 matches for "p_mbr_p_type".
2015 Mar 30
1
[PATCH RFC] resize: add p_mbr_p_type as member of type partition
Add p_mbr_p_type as member of type partition
to describe mbr partition type.
Currently we use:
List.filter (fun p -> parttype <> MBR || p.G.part_num <= 4_l)
to filter out logical partitions.
Commit 0c396a4bce578486dfc4a38e1f8c47fd5c2836ea
introduce API part_get_mbr_part_type,
we could use this to know...
2015 May 28
2
Re: [PATCH v2 02/11] resize: add logical_partitions and extended_partition
...partition, if there are no
extended partitions?
I think you probably meant to write:
let extended_partition =
match extended_partition_list with
| h :: _ -> Some h
| [] -> None in
> + let logical_partitions =
> + List.filter (fun p -> parttype = MBR && p.p_mbr_p_type = LogicalPartition) partitions in
> + (* Filter out logical partitions. See note above. *)
> + let partitions =
> + (* for GPT, all partitions are regarded as Primary Partition,
> + * e.g. there is no Extended Partition or Logical Partition. *)
> + List.filter (fun p -&g...
2015 May 28
1
Re: [PATCH v2 02/11] resize: add logical_partitions and extended_partition
On Thu, May 28, 2015 at 01:13:28PM +0200, Pino Toscano wrote:
> In data giovedì 28 maggio 2015 12:06:18, Richard W.M. Jones ha scritto:
> > > + let logical_partitions =
> > > + List.filter (fun p -> parttype = MBR && p.p_mbr_p_type = LogicalPartition) partitions in
> > > + (* Filter out logical partitions. See note above. *)
> > > + let partitions =
> > > + (* for GPT, all partitions are regarded as Primary Partition,
> > > + * e.g. there is no Extended Partition or Logical Partit...
2015 May 20
0
[PATCH v2 02/11] resize: add logical_partitions and extended_partition
...) parts in
- (* Filter out logical partitions. See note above. *)
- let partitions =
- (* for GPT, all partitions are regarded as Primary Partition,
- * e.g. there is no Extended Partition or Logical Partition. *)
- List.filter (fun p -> parttype <> MBR || p.p_mbr_p_type <> LogicalPartition) partitions in
-
(* Check content isn't larger than partitions. If it is then
* something has gone wrong and we shouldn't continue. Old
* virt-resize didn't do these checks.
@@ -533,11 +524,29 @@ read the man page virt-resize(1).
error...
2015 May 28
0
Re: [PATCH v2 02/11] resize: add logical_partitions and extended_partition
In data giovedì 28 maggio 2015 12:06:18, Richard W.M. Jones ha scritto:
> > + let logical_partitions =
> > + List.filter (fun p -> parttype = MBR && p.p_mbr_p_type = LogicalPartition) partitions in
> > + (* Filter out logical partitions. See note above. *)
> > + let partitions =
> > + (* for GPT, all partitions are regarded as Primary Partition,
> > + * e.g. there is no Extended Partition or Logical Partition. *)
> > +...
2015 May 20
15
[PATCH v2 00/11] virt-resize: add support for resizing MBR logical partitions
In current virt-resize, only primary partitions(including
extended partition) are supported. They are collected in an
array for resize operations. Logical partitions are not
supported.
This series add support for resizing logical partitions.
v2:
1) Add 3 variables to describe relationship of logical and extended partitions:
- partitions
flat list of primary partitions (as now, the global
2015 Jun 03
13
[PATCH v3 00/11] virt-resize: add support for resizing MBR logical partitions
In current virt-resize, only primary partitions(including
extended partition) are supported. They are collected in an
array for resize operations. Logical partitions are not
supported.
This series add support for resizing logical partitions.
v3:
1) rewrite partitions/logical_partitions/extended_partition section
by the comments from Rich and Pino.
2) in 03/11 introduce logical_align for
2015 Jun 17
13
[PATCH v4 00/11] virt-resize: add support for resizing MBR logical partitions
In current virt-resize, only primary partitions(including
extended partition) are supported. They are collected in an
array for resize operations. Logical partitions are not
supported.
This series add support for resizing logical partitions.
v4:
rebase on upstream.
v3:
1) rewrite partitions/logical_partitions/extended_partition section
by the comments from Rich and Pino.
2) in 03/11
2015 Jul 06
13
[PATCH rebase v4 00/11] virt-resize: add support for resizing MBR logical partitions
In current virt-resize, only primary partitions(including
extended partition) are supported. They are collected in an
array for resize operations. Logical partitions are not
supported.
This series add support for resizing logical partitions.
v4:
rebase on upstream.
v3:
1) rewrite partitions/logical_partitions/extended_partition section
by the comments from Rich and Pino.
2) in 03/11
2015 May 08
1
Re: [PATCH 00/10] virt-resize: add support for resizing MBR logical partitions
...>> Subject: Re: [Libguestfs] [PATCH 00/10] virt-resize: add support for resizing MBR
>> logical partitions
>>
>> On Wed, Apr 29, 2015 at 09:19:24AM +0000, Chen, Hanxiao wrote:
>>> commit 6e989fd709fea37430398cbb7c01c52cd44bd1ac already did this:
>>> we had p_mbr_p_type : partition_type in type partition.
>>> Like what MBR/EBR did, this patchset use `partition_type`:
>>>
>>> /dev/sda3:
>>> partition data: 3 210763776-420478975 (209715200 bytes)
>>> bootable: false
>>> partition ID: 0x5
>>> content:...
2015 May 08
0
Re: [PATCH 00/10] virt-resize: add support for resizing MBR logical partitions
...ibguestfs] [PATCH 00/10] virt-resize: add support for resizing MBR
> >> logical partitions
> >>
> >> On Wed, Apr 29, 2015 at 09:19:24AM +0000, Chen, Hanxiao wrote:
> >>> commit 6e989fd709fea37430398cbb7c01c52cd44bd1ac already did this:
> >>> we had p_mbr_p_type : partition_type in type partition.
> >>> Like what MBR/EBR did, this patchset use `partition_type`:
> >>>
> >>> /dev/sda3:
> >>> partition data: 3 210763776-420478975 (209715200 bytes)
> >>> bootable: false
> >>> partition...