Displaying 2 results from an estimated 2 matches for "3992bef".
2019 Jan 21
0
[PATCH nbdkit v2 1/4] partitioning plugin: Support MBR logical partitions.
...p;regions); ++(*j)) {
+ region = get_region (®ions, *j);
+ if (region->type == region_data && region->u.data == ebr[i-3])
+ return region;
+ }
+ abort ();
}
static void
diff --git a/plugins/partitioning/partitioning.c b/plugins/partitioning/partitioning.c
index 3992bef..689cb24 100644
--- a/plugins/partitioning/partitioning.c
+++ b/plugins/partitioning/partitioning.c
@@ -82,8 +82,11 @@ size_t nr_files = 0;
/* Virtual disk layout. */
struct regions regions;
-/* Primary and secondary partition tables (secondary is only used for GPT). */
-unsigned char *primary...
2019 Jan 21
8
[PATCH nbdkit v2 0/4] Support MBR logical partitions.
This is a revised version of the two series previously posted here:
https://www.redhat.com/archives/libguestfs/2019-January/msg00137.html
https://www.redhat.com/archives/libguestfs/2019-January/msg00139.html
There have been many smaller changes but the highlights are:
- Using SECTOR_SIZE instead of hard-coding 512 everywhere.
- Additional safety checks that the EBR chain doesn't
jump