-Original Message-
From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] On
Behalf Of Richard W.M. Jones
Sent: Thursday, May 28, 2015 7:18 PM
To: Pino Toscano
Cc: libguestfs@redhat.com
Subject: Re: [Libguestfs] [PATCH v2 02/11] resize: add logical_partitions
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
On Wed, May 20, 2015 at 06:51:28AM -0400, Chen Hanxiao wrote:
For MBR, logical partitions laid inside extended partition.
Add 3 variables to describe this:
- partitions
flat list of primary partitions (as now, the global 'partitions').
extended partitions is essentially primary
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,
For MBR, logical partitions laid inside extended partition.
Add 3 variables to describe this:
- partitions
flat list of primary partitions (as now, the global 'partitions').
extended partitions is essentially primary partition
- logical_partitions
flat list of logical partitions
-