New -boot_image bootspec "appended_part_as=", new -as mkisofs option -appended_part_as_gpt
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
|
||||
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
||||
|
||||
Copyright 2007-2014 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2015 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
Provided under GPL version 2 or later.
|
||||
|
||||
This file contains the implementation of options -a* to -c* as mentioned
|
||||
This file contains the implementation of commands -a* to -c* as mentioned
|
||||
in man page or info file derived from xorriso.texi.
|
||||
*/
|
||||
|
||||
@ -1020,6 +1020,14 @@ treatment_patch:;
|
||||
}
|
||||
xorriso->partition_offset= u;
|
||||
|
||||
} else if(strncmp(treatpt, "appended_part_as=", 17) == 0) {
|
||||
if(strcmp(treatpt + 17, "gpt") == 0) {
|
||||
xorriso->appended_as_gpt = 1;
|
||||
} else if(strcmp(treatpt + 17, "mbr") == 0) {
|
||||
xorriso->appended_as_gpt = 0;
|
||||
} else
|
||||
was_ok= 0;
|
||||
|
||||
} else if(strncmp(treatpt, "partition_hd_cyl=", 17)==0) {
|
||||
u= 0;
|
||||
sscanf(treatpt + 17, "%u", &u);
|
||||
|
Reference in New Issue
Block a user