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:
@ -1,7 +1,7 @@
|
||||
|
||||
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
||||
|
||||
Copyright 2007-2016 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2019 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
Provided under GPL version 2 or later.
|
||||
|
||||
@ -3067,11 +3067,15 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
|
||||
|
||||
is_default= (xorriso->iso_mbr_part_type == -1);
|
||||
sprintf(line, "-boot_image any iso_mbr_part_type=");
|
||||
if(xorriso->iso_mbr_part_type == -1)
|
||||
if(xorriso->iso_mbr_part_flag & 1) {
|
||||
Xorriso__format_guid(xorriso->iso_gpt_type_guid, line + strlen(line), 0);
|
||||
strcat(line, "\n");
|
||||
} else if(xorriso->iso_mbr_part_type == -1) {
|
||||
sprintf(line + strlen(line), "default\n");
|
||||
else
|
||||
} else {
|
||||
sprintf(line + strlen(line), "0x%-2.2x\n",
|
||||
(unsigned int) xorriso->iso_mbr_part_type);
|
||||
}
|
||||
if(!(is_default && no_defaults))
|
||||
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
||||
|
||||
|
Reference in New Issue
Block a user