Enabled GPT type GUIDs with -append_partition, -boot_image any iso_mbr_part_type=, and -as mkisofs -iso_mbr_part_type
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
/* Command line oriented batch and dialog tool which creates, loads,
|
||||
manipulates and burns ISO 9660 filesystem images.
|
||||
|
||||
Copyright 2007-2017 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2019 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
Provided under GPL version 2 or later.
|
||||
|
||||
@ -495,6 +495,11 @@ struct XorrisO { /* the global context of xorriso */
|
||||
/* Path and type of image files to be appended as MBR partitions */
|
||||
char *appended_partitions[Xorriso_max_appended_partitionS];
|
||||
uint8_t appended_part_types[Xorriso_max_appended_partitionS];
|
||||
uint8_t appended_part_type_guids[Xorriso_max_appended_partitionS][16];
|
||||
/* Flags in case that appended partitions show up in GPT:
|
||||
bit0= appended_part_type_guids is valid
|
||||
*/
|
||||
uint8_t appended_part_gpt_flags[Xorriso_max_appended_partitionS];
|
||||
/* If 1: With appended partitions: create protective MBR and mark by GPT */
|
||||
int appended_as_gpt;
|
||||
/* If 1: With appended partitions: mark by APM */
|
||||
@ -507,6 +512,11 @@ struct XorrisO { /* the global context of xorriso */
|
||||
if not real GPT or CHRP.
|
||||
*/
|
||||
int iso_mbr_part_type;
|
||||
uint8_t iso_gpt_type_guid[16];
|
||||
int iso_mbr_part_flag;
|
||||
/* Flags in case that the partition table is GPT:
|
||||
bit0= iso_gpt_type_guid is valid
|
||||
*/
|
||||
|
||||
/* See libisoburn.h isoburn_igopt_set_gpt_guid() */
|
||||
uint8_t gpt_guid[16];
|
||||
|
Reference in New Issue
Block a user