Corrected interpretation of RFC 4122 UUID strings for GPT. Thanks Andrei Borzenkov.

This commit is contained in:
Thomas Schmitt 2016-08-15 10:24:21 +00:00
parent d832426c49
commit 237852c4e1
8 changed files with 142 additions and 122 deletions

View File

@ -3067,7 +3067,7 @@ ex:;
int Xorriso_parse_gpt_guid(struct XorrisO *xorriso, char *text, int flag) int Xorriso_parse_gpt_guid(struct XorrisO *xorriso, char *text, int flag)
{ {
int bin_count= 0, ret; int bin_count= 0, ret;
uint8_t u[16]; uint8_t u[16], tr;
if(strcmp(text, "random") == 0) { if(strcmp(text, "random") == 0) {
xorriso->gpt_guid_mode= 0; xorriso->gpt_guid_mode= 0;
@ -3078,18 +3078,24 @@ int Xorriso_parse_gpt_guid(struct XorrisO *xorriso, char *text, int flag)
xorriso->gpt_guid_mode= 2; xorriso->gpt_guid_mode= 2;
return(1); return(1);
} }
/* Try RFC 4122 : big endian XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX */ /* Try RFC 4122 : big endian XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Translate to UEFI: first three components to little-endian
*/
if(strlen(text) == 36) { if(strlen(text) == 36) {
if(text[8] == '-' && text[13] == '-' && text[18] == '-' && text[23] == '-'){ if(text[8] == '-' && text[13] == '-' && text[18] == '-' && text[23] == '-'){
ret= Hex_to_bin(text, 4, &bin_count, u, 0); ret= Hex_to_bin(text, 4, &bin_count, u, 0);
if(ret < 0 || bin_count != 4) if(ret < 0 || bin_count != 4)
goto malformed; goto malformed;
tr= u[0]; u[0]= u[3]; u[3]= tr;
tr= u[1]; u[1]= u[2]; u[2]= tr;
ret= Hex_to_bin(text + 9, 2, &bin_count, u + 4, 0); ret= Hex_to_bin(text + 9, 2, &bin_count, u + 4, 0);
if(ret < 0 || bin_count != 2) if(ret < 0 || bin_count != 2)
goto malformed; goto malformed;
tr= u[4]; u[4]= u[5]; u[5]= tr;
ret= Hex_to_bin(text + 14, 2, &bin_count, u + 6, 0); ret= Hex_to_bin(text + 14, 2, &bin_count, u + 6, 0);
if(ret < 0 || bin_count != 2) if(ret < 0 || bin_count != 2)
goto malformed; goto malformed;
tr= u[6]; u[6]= u[7]; u[7]= tr;
ret= Hex_to_bin(text + 19, 2, &bin_count, u + 8, 0); ret= Hex_to_bin(text + 19, 2, &bin_count, u + 8, 0);
if(ret < 0 || bin_count != 2) if(ret < 0 || bin_count != 2)
goto malformed; goto malformed;

View File

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Version 1.4.5, Aug 12, 2016" .TH XORRISO 1 "Version 1.4.5, Aug 14, 2016"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -3361,9 +3361,11 @@ Value "random" is default. Value "volume_date_uuid" produces a low quality
GUID from the value set by \-volume_date "uuid". GUID from the value set by \-volume_date "uuid".
.br .br
A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to
set the disk GUID directly. set the disk GUID directly. UEFI prescribes the first three components of
a RFC 4122 GUID string to be byte\-swapped in the binary representation:
.br .br
E.g. gpt_disk_guid=2303cd2a\-73c7\-424a\-a298\-25632da7f446 E.g. gpt_disk_guid=2303cd2a\-73c7\-424a\-a298\-25632da7f446
equals gpt_disk_guid=2acd0323c7734a42a29825632da7f446
.br .br
The partition GUIDs get generated by minimally varying the disk GUID. The partition GUIDs get generated by minimally varying the disk GUID.
.br .br
@ -4159,7 +4161,7 @@ file with the path given after the colon. Compute the GPT compliant CRC number
and print it to the result channel. The number is shown like "0x690fd979". and print it to the result channel. The number is shown like "0x690fd979".
The special disk_path "\-" causes reading from standard input. The special disk_path "\-" causes reading from standard input.
.br .br
With mode \fBmake_guid\fR print a pseudo\-random GUID in RFC 4122 format With mode \fBmake_guid\fR print a pseudo\-random GUID in RFC 4122 text format
to result channel. to result channel.
.TP .TP
.B Navigation in ISO image and disk filesystem: .B Navigation in ISO image and disk filesystem:

View File

@ -2831,8 +2831,11 @@ Examples:
"volume_date_uuid" produces a low quality GUID from the value set "volume_date_uuid" produces a low quality GUID from the value set
by -volume_date "uuid". by -volume_date "uuid".
A string of 32 hex digits, or a RFC 4122 compliant GUID string may A string of 32 hex digits, or a RFC 4122 compliant GUID string may
be used to set the disk GUID directly. be used to set the disk GUID directly. UEFI prescribes the first
E.g. gpt_disk_guid=2303cd2a-73c7-424a-a298-25632da7f446 three components of a RFC 4122 GUID string to be byte-swapped in
the binary representation:
E.g. gpt_disk_guid=2303cd2a-73c7-424a-a298-25632da7f446 equals
gpt_disk_guid=2acd0323c7734a42a29825632da7f446
The partition GUIDs get generated by minimally varying the disk The partition GUIDs get generated by minimally varying the disk
GUID. GUID.
*-boot_image any part_like_isohybrid=on* enables -boot_image *-boot_image any part_like_isohybrid=on* enables -boot_image
@ -3488,8 +3491,8 @@ File: xorriso.info, Node: Inquiry, Next: Navigate, Prev: DialogCtl, Up: Comm
compliant CRC number and print it to the result channel. The compliant CRC number and print it to the result channel. The
number is shown like "0x690fd979". The special disk_path "-" number is shown like "0x690fd979". The special disk_path "-"
causes reading from standard input. causes reading from standard input.
With mode *make_guid* print a pseudo-random GUID in RFC 4122 format With mode *make_guid* print a pseudo-random GUID in RFC 4122 text
to result channel. format to result channel.
 
File: xorriso.info, Node: Navigate, Next: Verify, Prev: Inquiry, Up: Commands File: xorriso.info, Node: Navigate, Next: Verify, Prev: Inquiry, Up: Commands
@ -5130,7 +5133,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -alter_date sets timestamps in ISO image: Manip. (line 136) * -alter_date sets timestamps in ISO image: Manip. (line 136)
* -alter_date_r sets timestamps in ISO image: Manip. (line 171) * -alter_date_r sets timestamps in ISO image: Manip. (line 171)
* -append_partition adds arbitrary file after image end: Bootable. * -append_partition adds arbitrary file after image end: Bootable.
(line 388) (line 391)
* -application_id sets application id: SetWrite. (line 191) * -application_id sets application id: SetWrite. (line 191)
* -application_use sets application use field: SetWrite. (line 256) * -application_use sets application use field: SetWrite. (line 256)
* -as emulates mkisofs or cdrecord: Emulation. (line 13) * -as emulates mkisofs or cdrecord: Emulation. (line 13)
@ -5372,12 +5375,12 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* ACL, show in ISO image, -getfacl: Navigate. (line 60) * ACL, show in ISO image, -getfacl: Navigate. (line 60)
* ACL, show in ISO image, -getfacl_r: Navigate. (line 66) * ACL, show in ISO image, -getfacl_r: Navigate. (line 66)
* ACL, _definition: Extras. (line 50) * ACL, _definition: Extras. (line 50)
* APM block size: Bootable. (line 379) * APM block size: Bootable. (line 382)
* APM, _definition: Extras. (line 42) * APM, _definition: Extras. (line 42)
* Appendable media, _definition: Media. (line 38) * Appendable media, _definition: Media. (line 38)
* Appended Filesystem Image, -append_partition: Bootable. (line 388) * Appended Filesystem Image, -append_partition: Bootable. (line 391)
* Appended partition, in APM: Bootable. (line 259) * Appended partition, in APM: Bootable. (line 262)
* Appended partition, in MBR or GPT: Bootable. (line 252) * Appended partition, in MBR or GPT: Bootable. (line 255)
* Automatic execution order, of arguments, -x: ArgSort. (line 16) * Automatic execution order, of arguments, -x: ArgSort. (line 16)
* Backslash Interpretation, _definition: Processing. (line 53) * Backslash Interpretation, _definition: Processing. (line 53)
* Backup, enable fast incremental, -disk_dev_ino: Loading. (line 226) * Backup, enable fast incremental, -disk_dev_ino: Loading. (line 226)
@ -5395,15 +5398,15 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Character set, learn from image, -auto_charset: Loading. (line 123) * Character set, learn from image, -auto_charset: Loading. (line 123)
* Character Set, of terminal, -local_charset: Charset. (line 57) * Character Set, of terminal, -local_charset: Charset. (line 57)
* Character Set, _definition: Charset. (line 6) * Character Set, _definition: Charset. (line 6)
* CHRP partition, _definition: Bootable. (line 264) * CHRP partition, _definition: Bootable. (line 267)
* Closed media, _definition: Media. (line 44) * Closed media, _definition: Media. (line 44)
* Comment, #: Scripting. (line 156) * Comment, #: Scripting. (line 156)
* Control, signal handling, -signal_handling: Exception. (line 66) * Control, signal handling, -signal_handling: Exception. (line 66)
* Create, new ISO image, _definition: Methods. (line 7) * Create, new ISO image, _definition: Methods. (line 7)
* Cylinder alignment, _definition: Bootable. (line 308) * Cylinder alignment, _definition: Bootable. (line 311)
* Cylinder size, _definition: Bootable. (line 293) * Cylinder size, _definition: Bootable. (line 296)
* Damaged track and session, close, -close_damaged: Writing. (line 164) * Damaged track and session, close, -close_damaged: Writing. (line 164)
* DEC Alpha SRM boot sector, production: Bootable. (line 365) * DEC Alpha SRM boot sector, production: Bootable. (line 368)
* Delete, from ISO image, -rm: Manip. (line 20) * Delete, from ISO image, -rm: Manip. (line 20)
* Delete, from ISO image, -rm_r: Manip. (line 26) * Delete, from ISO image, -rm_r: Manip. (line 26)
* Delete, ISO directory, -rmdir: Manip. (line 29) * Delete, ISO directory, -rmdir: Manip. (line 29)
@ -5434,7 +5437,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Drive, _definition: Drives. (line 6) * Drive, _definition: Drives. (line 6)
* EA, _definition: Extras. (line 66) * EA, _definition: Extras. (line 66)
* ECMA-119, _definition: Model. (line 6) * ECMA-119, _definition: Model. (line 6)
* EFI system partition, _definition: Bootable. (line 273) * EFI system partition, _definition: Bootable. (line 276)
* El Torito, _definition: Extras. (line 19) * El Torito, _definition: Extras. (line 19)
* Emulation, -as: Emulation. (line 13) * Emulation, -as: Emulation. (line 13)
* Emulation, .mkisofsrc, -read_mkisofsrc: Emulation. (line 155) * Emulation, .mkisofsrc, -read_mkisofsrc: Emulation. (line 155)
@ -5464,10 +5467,10 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Group, in ISO image, -chgrp_r: Manip. (line 53) * Group, in ISO image, -chgrp_r: Manip. (line 53)
* Growing, _definition: Methods. (line 20) * Growing, _definition: Methods. (line 20)
* Hard links, control handling, -hardlinks: Loading. (line 134) * Hard links, control handling, -hardlinks: Loading. (line 134)
* HFS+ allocation block size: Bootable. (line 376) * HFS+ allocation block size: Bootable. (line 379)
* HFS+ serial number: Bootable. (line 373) * HFS+ serial number: Bootable. (line 376)
* hidden, set in ISO image, -hide: Manip. (line 174) * hidden, set in ISO image, -hide: Manip. (line 174)
* HP-PA boot sector, production: Bootable. (line 348) * HP-PA boot sector, production: Bootable. (line 351)
* Image reading, cache size, -data_cache_size: Loading. (line 332) * Image reading, cache size, -data_cache_size: Loading. (line 332)
* Image, demand volume ID, -assert_volid: Loading. (line 111) * Image, demand volume ID, -assert_volid: Loading. (line 111)
* Image, discard pending changes, -rollback: Writing. (line 9) * Image, discard pending changes, -rollback: Writing. (line 9)
@ -5521,7 +5524,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Linux device type, -scsi_dev_family: AqDrive. (line 43) * Linux device type, -scsi_dev_family: AqDrive. (line 43)
* List delimiter, _definition: Processing. (line 9) * List delimiter, _definition: Processing. (line 9)
* Local Character Set, _definition: Charset. (line 11) * Local Character Set, _definition: Charset. (line 11)
* MBR bootable/active flag, enforce: Bootable. (line 319) * MBR bootable/active flag, enforce: Bootable. (line 322)
* MBR, set, -boot_image system_area=: Bootable. (line 187) * MBR, set, -boot_image system_area=: Bootable. (line 187)
* MBR, _definition: Extras. (line 27) * MBR, _definition: Extras. (line 27)
* MD5, control handling, -md5: Loading. (line 182) * MD5, control handling, -md5: Loading. (line 182)
@ -5529,7 +5532,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Media, format, -format: Writing. (line 87) * Media, format, -format: Writing. (line 87)
* Media, list formats, -list_formats: Writing. (line 129) * Media, list formats, -list_formats: Writing. (line 129)
* Media, list write speeds, -list_speeds: Writing. (line 140) * Media, list write speeds, -list_speeds: Writing. (line 140)
* MIPS boot file, activation: Bootable. (line 327) * MIPS boot file, activation: Bootable. (line 330)
* mkisofs, Emulation: Emulation. (line 17) * mkisofs, Emulation: Emulation. (line 17)
* Modifying, _definition: Methods. (line 28) * Modifying, _definition: Methods. (line 28)
* Multi-session media, _definition: Media. (line 7) * Multi-session media, _definition: Media. (line 7)
@ -5556,15 +5559,15 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Ownership, global in ISO image, -uid: SetWrite. (line 274) * Ownership, global in ISO image, -uid: SetWrite. (line 274)
* Ownership, in ISO image, -chown: Manip. (line 43) * Ownership, in ISO image, -chown: Manip. (line 43)
* Ownership, in ISO image, -chown_r: Manip. (line 47) * Ownership, in ISO image, -chown_r: Manip. (line 47)
* Partition offset, _definition: Bootable. (line 283) * Partition offset, _definition: Bootable. (line 286)
* Partition table, _definition: Bootable. (line 233) * Partition table, _definition: Bootable. (line 236)
* Pathspec, _definition: SetInsert. (line 117) * Pathspec, _definition: SetInsert. (line 117)
* Pattern expansion, for disk paths, -disk_pattern: Insert. (line 34) * Pattern expansion, for disk paths, -disk_pattern: Insert. (line 34)
* Pattern expansion, for ISO paths, -iso_rr_pattern: Manip. (line 10) * Pattern expansion, for ISO paths, -iso_rr_pattern: Manip. (line 10)
* Pattern expansion, _definition: Processing. (line 25) * Pattern expansion, _definition: Processing. (line 25)
* Permissions, in ISO image, -chmod: Manip. (line 55) * Permissions, in ISO image, -chmod: Manip. (line 55)
* Permissions, in ISO image, -chmod_r: Manip. (line 66) * Permissions, in ISO image, -chmod_r: Manip. (line 66)
* PReP partition, _definition: Bootable. (line 268) * PReP partition, _definition: Bootable. (line 271)
* Problems, reporting: Bugreport. (line 6) * Problems, reporting: Bugreport. (line 6)
* Process, consolidate text output, -pkt_output: Frontend. (line 7) * Process, consolidate text output, -pkt_output: Frontend. (line 7)
* Process, control abort on error, -abort_on: Exception. (line 27) * Process, control abort on error, -abort_on: Exception. (line 27)
@ -5624,8 +5627,8 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Session, select as input, -load: Loading. (line 33) * Session, select as input, -load: Loading. (line 33)
* Session, _definition: Model. (line 6) * Session, _definition: Model. (line 6)
* Sorting order, for -x, -list_arg_sorting: ArgSort. (line 26) * Sorting order, for -x, -list_arg_sorting: ArgSort. (line 26)
* SUN Disk Label, production: Bootable. (line 338) * SUN Disk Label, production: Bootable. (line 341)
* SUN SPARC boot images, activation: Bootable. (line 411) * SUN SPARC boot images, activation: Bootable. (line 414)
* Symbolic link, create, -lns: Insert. (line 166) * Symbolic link, create, -lns: Insert. (line 166)
* System area, _definition: Bootable. (line 187) * System area, _definition: Bootable. (line 187)
* Table-of-content, search sessions, -rom_toc_scan: Loading. (line 278) * Table-of-content, search sessions, -rom_toc_scan: Loading. (line 278)
@ -5694,39 +5697,39 @@ Node: Filter100874
Node: Writing105496 Node: Writing105496
Node: SetWrite115652 Node: SetWrite115652
Node: Bootable139799 Node: Bootable139799
Node: Jigdo164347 Node: Jigdo164535
Node: Charset168606 Node: Charset168794
Node: Exception171935 Node: Exception172123
Node: DialogCtl178064 Node: DialogCtl178252
Node: Inquiry180666 Node: Inquiry180854
Node: Navigate189213 Node: Navigate189406
Node: Verify197508 Node: Verify197701
Node: Restore207386 Node: Restore207579
Node: Emulation215999 Node: Emulation216192
Node: Scripting226458 Node: Scripting226651
Node: Frontend234241 Node: Frontend234434
Node: Examples243867 Node: Examples244060
Node: ExDevices245045 Node: ExDevices245238
Node: ExCreate245706 Node: ExCreate245899
Node: ExDialog247006 Node: ExDialog247199
Node: ExGrowing248277 Node: ExGrowing248470
Node: ExModifying249086 Node: ExModifying249279
Node: ExBootable249596 Node: ExBootable249789
Node: ExCharset250151 Node: ExCharset250344
Node: ExPseudo251047 Node: ExPseudo251240
Node: ExCdrecord251974 Node: ExCdrecord252167
Node: ExMkisofs252294 Node: ExMkisofs252487
Node: ExGrowisofs253651 Node: ExGrowisofs253844
Node: ExException254805 Node: ExException254998
Node: ExTime255263 Node: ExTime255456
Node: ExIncBackup255721 Node: ExIncBackup255914
Node: ExRestore259747 Node: ExRestore259940
Node: ExRecovery260693 Node: ExRecovery260886
Node: Files261265 Node: Files261458
Node: Seealso262599 Node: Seealso262792
Node: Bugreport263314 Node: Bugreport263507
Node: Legal263905 Node: Legal264098
Node: CommandIdx264917 Node: CommandIdx265110
Node: ConceptIdx282105 Node: ConceptIdx282298
 
End Tag Table End Tag Table

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1) @c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISO 1 "Version 1.4.5, Aug 12, 2016" @c man .TH XORRISO 1 "Version 1.4.5, Aug 14, 2016"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -3901,9 +3901,11 @@ Value "random" is default. Value "volume_date_uuid" produces a low quality
GUID from the value set by -volume_date "uuid". GUID from the value set by -volume_date "uuid".
@* @*
A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to
set the disk GUID directly. set the disk GUID directly. UEFI prescribes the first three components of
a RFC 4122 GUID string to be byte-swapped in the binary representation:
@* @*
E.g. gpt_disk_guid=2303cd2a-73c7-424a-a298-25632da7f446 E.g. gpt_disk_guid=2303cd2a-73c7-424a-a298-25632da7f446
equals gpt_disk_guid=2acd0323c7734a42a29825632da7f446
@* @*
The partition GUIDs get generated by minimally varying the disk GUID. The partition GUIDs get generated by minimally varying the disk GUID.
@* @*
@ -4797,7 +4799,7 @@ file with the path given after the colon. Compute the GPT compliant CRC number
and print it to the result channel. The number is shown like "0x690fd979". and print it to the result channel. The number is shown like "0x690fd979".
The special disk_path "-" causes reading from standard input. The special disk_path "-" causes reading from standard input.
@* @*
With mode @strong{make_guid} print a pseudo-random GUID in RFC 4122 format With mode @strong{make_guid} print a pseudo-random GUID in RFC 4122 text format
to result channel. to result channel.
@end table @end table
@c man .TP @c man .TP

View File

@ -1 +1 @@
#define Xorriso_timestamP "2016.08.12.185822" #define Xorriso_timestamP "2016.08.15.102443"

View File

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH XORRISOFS 1 "Version 1.4.5, Aug 12, 2016" .TH XORRISOFS 1 "Version 1.4.5, Aug 14, 2016"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -1307,9 +1307,11 @@ Value "random" is default. Value "modification\-date" produces a low quality
GUID from the value set by option \-\-modification\-date=. GUID from the value set by option \-\-modification\-date=.
.br .br
A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to
set the disk GUID directly. set the disk GUID directly. UEFI prescribes the first three components of
a RFC 4122 GUID string to be byte\-swapped in the binary representation:
.br .br
E.g. \-\-gpt_disk_guid 2303cd2a\-73c7\-424a\-a298\-25632da7f446 E.g. \-\-gpt_disk_guid 2303cd2a\-73c7\-424a\-a298\-25632da7f446
equals \-\-gpt_disk_guid 2acd0323c7734a42a29825632da7f446
.br .br
The partition GUIDs get generated by minimally varying the disk GUID. The partition GUIDs get generated by minimally varying the disk GUID.
.TP .TP

View File

@ -1143,8 +1143,11 @@ Examples:
is default. Value "modification-date" produces a low quality GUID is default. Value "modification-date" produces a low quality GUID
from the value set by option --modification-date=. from the value set by option --modification-date=.
A string of 32 hex digits, or a RFC 4122 compliant GUID string may A string of 32 hex digits, or a RFC 4122 compliant GUID string may
be used to set the disk GUID directly. be used to set the disk GUID directly. UEFI prescribes the first
E.g. --gpt_disk_guid 2303cd2a-73c7-424a-a298-25632da7f446 three components of a RFC 4122 GUID string to be byte-swapped in
the binary representation:
E.g. --gpt_disk_guid 2303cd2a-73c7-424a-a298-25632da7f446 equals
--gpt_disk_guid 2acd0323c7734a42a29825632da7f446
The partition GUIDs get generated by minimally varying the disk The partition GUIDs get generated by minimally varying the disk
GUID. GUID.
-chrp-boot-part -chrp-boot-part
@ -1860,7 +1863,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* --gpt_disk_guid GPT GUID: SystemArea. (line 216) * --gpt_disk_guid GPT GUID: SystemArea. (line 216)
* --grub2-boot-info Patch El Torito boot image: Bootable. (line 89) * --grub2-boot-info Patch El Torito boot image: Bootable. (line 89)
* --grub2-mbr Install modern GRUB2 MBR: SystemArea. (line 77) * --grub2-mbr Install modern GRUB2 MBR: SystemArea. (line 77)
* --grub2-sparc-core SUN SPARC core file: SystemArea. (line 268) * --grub2-sparc-core SUN SPARC core file: SystemArea. (line 271)
* --hardlinks Recording of hardlink relations: SetExtras. (line 116) * --hardlinks Recording of hardlink relations: SetExtras. (line 116)
* --mbr-force-bootable Enforce MBR bootable/active flag: SystemArea. * --mbr-force-bootable Enforce MBR bootable/active flag: SystemArea.
(line 127) (line 127)
@ -1893,7 +1896,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -A set Application Id: ImageId. (line 34) * -A set Application Id: ImageId. (line 34)
* -abstract set Abstract File path: ImageId. (line 57) * -abstract set Abstract File path: ImageId. (line 57)
* -allow-lowercase lowercase in ISO file names: SetCompl. (line 42) * -allow-lowercase lowercase in ISO file names: SetCompl. (line 42)
* -alpha-boot DEC Alpha SRM bootloader: SystemArea. (line 291) * -alpha-boot DEC Alpha SRM bootloader: SystemArea. (line 294)
* -appended_part_as_apm Appended partitions in APM: SystemArea. * -appended_part_as_apm Appended partitions in APM: SystemArea.
(line 200) (line 200)
* -appended_part_as_gpt Appended partitions in GPT: SystemArea. * -appended_part_as_gpt Appended partitions in GPT: SystemArea.
@ -1902,7 +1905,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
(line 174) (line 174)
* -appid set Application Id: ImageId. (line 41) * -appid set Application Id: ImageId. (line 41)
* -b El Torito PC-BIOS boot image: Bootable. (line 32) * -b El Torito PC-BIOS boot image: Bootable. (line 32)
* -B SUN SPARC boot images: SystemArea. (line 253) * -B SUN SPARC boot images: SystemArea. (line 256)
* -biblio set Biblio File path: ImageId. (line 62) * -biblio set Biblio File path: ImageId. (line 62)
* -boot-info-table Patch El Torito boot image: Bootable. (line 84) * -boot-info-table Patch El Torito boot image: Bootable. (line 84)
* -boot-load-size El Torito boot image load size: Bootable. (line 57) * -boot-load-size El Torito boot image load size: Bootable. (line 57)
@ -1913,8 +1916,8 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -checksum_algorithm_iso choose .jigdo checksums: Jigdo. (line 72) * -checksum_algorithm_iso choose .jigdo checksums: Jigdo. (line 72)
* -checksum_algorithm_template choose .template checksums: Jigdo. * -checksum_algorithm_template choose .template checksums: Jigdo.
(line 78) (line 78)
* -chrp-boot CHRP partition: SystemArea. (line 235) * -chrp-boot CHRP partition: SystemArea. (line 238)
* -chrp-boot-part CHRP partition: SystemArea. (line 226) * -chrp-boot-part CHRP partition: SystemArea. (line 229)
* -copyright set Copyright File path: ImageId. (line 66) * -copyright set Copyright File path: ImageId. (line 66)
* -D allow deep directory hierachies: SetExtras. (line 60) * -D allow deep directory hierachies: SetExtras. (line 60)
* -d omit trailing dot in ISO file names: SetCompl. (line 50) * -d omit trailing dot in ISO file names: SetCompl. (line 50)
@ -1969,12 +1972,12 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
(line 15) (line 15)
* -hide-rr-moved set deep directory relocation target: SetExtras. * -hide-rr-moved set deep directory relocation target: SetExtras.
(line 90) (line 90)
* -hppa-bootloader HP-PA bootloader file: SystemArea. (line 280) * -hppa-bootloader HP-PA bootloader file: SystemArea. (line 283)
* -hppa-cmdline HP-PA PALO command line: SystemArea. (line 274) * -hppa-cmdline HP-PA PALO command line: SystemArea. (line 277)
* -hppa-hdrversion HP-PA PALO header version: SystemArea. (line 288) * -hppa-hdrversion HP-PA PALO header version: SystemArea. (line 291)
* -hppa-kernel_32 HP-PA kernel_32 file: SystemArea. (line 282) * -hppa-kernel_32 HP-PA kernel_32 file: SystemArea. (line 285)
* -hppa-kernel_64 HP-PA kernel_64 file: SystemArea. (line 284) * -hppa-kernel_64 HP-PA kernel_64 file: SystemArea. (line 287)
* -hppa-ramdisk HP-PA ramdisk file: SystemArea. (line 286) * -hppa-ramdisk HP-PA ramdisk file: SystemArea. (line 289)
* -input-charset set character set of disk file names: Charset. * -input-charset set character set of disk file names: Charset.
(line 17) (line 17)
* -iso-level define ISO 9660 limitations: SetCompl. (line 7) * -iso-level define ISO 9660 limitations: SetCompl. (line 7)
@ -2003,8 +2006,8 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -max-iso9660-filenames allow 37 characters in ISO file names: SetCompl. * -max-iso9660-filenames allow 37 characters in ISO file names: SetCompl.
(line 61) (line 61)
* -md5-list set path of readable .md5: Jigdo. (line 67) * -md5-list set path of readable .md5: Jigdo. (line 67)
* -mips-boot MIPS Big Endian boot image: SystemArea. (line 242) * -mips-boot MIPS Big Endian boot image: SystemArea. (line 245)
* -mipsel-boot MIPS Little Endian boot image: SystemArea. (line 248) * -mipsel-boot MIPS Little Endian boot image: SystemArea. (line 251)
* -N omit version number in ISO file names: SetCompl. (line 64) * -N omit version number in ISO file names: SetCompl. (line 64)
* -no-emul-boot El Torito boot image emulation: Bootable. (line 66) * -no-emul-boot El Torito boot image emulation: Bootable. (line 66)
* -no-pad do not add zeros to ISO tree: SetProduct. (line 93) * -no-pad do not add zeros to ISO tree: SetProduct. (line 93)
@ -2028,7 +2031,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -part_like_isohybrid Mark partitions like with isohybrid: SystemArea. * -part_like_isohybrid Mark partitions like with isohybrid: SystemArea.
(line 116) (line 116)
* -path-list read pathspecs from disk file: SetInsert. (line 8) * -path-list read pathspecs from disk file: SetInsert. (line 8)
* -prep-boot-part PReP partition: SystemArea. (line 237) * -prep-boot-part PReP partition: SystemArea. (line 240)
* -preparer set Preparer Id: ImageId. (line 55) * -preparer set Preparer Id: ImageId. (line 55)
* -prev-session set path for loading existing ISO image: Loading. * -prev-session set path for loading existing ISO image: Loading.
(line 21) (line 21)
@ -2045,8 +2048,8 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -root redirect ISO root directory: SetInsert. (line 55) * -root redirect ISO root directory: SetInsert. (line 55)
* -rr_reloc_dir set deep directory relocation target: SetExtras. * -rr_reloc_dir set deep directory relocation target: SetExtras.
(line 74) (line 74)
* -sparc-boot SUN SPARC boot images: SystemArea. (line 264) * -sparc-boot SUN SPARC boot images: SystemArea. (line 267)
* -sparc-label SUN Disk Label text: SystemArea. (line 266) * -sparc-label SUN Disk Label text: SystemArea. (line 269)
* -sysid set System Id: ImageId. (line 43) * -sysid set System Id: ImageId. (line 43)
* -transparent-compression enable recognition of zisofs files: SetInsert. * -transparent-compression enable recognition of zisofs files: SetInsert.
(line 53) (line 53)
@ -2100,29 +2103,29 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
(line 84) (line 84)
* Bootability, bootable MBR partition, --mbr-force-bootable: SystemArea. * Bootability, bootable MBR partition, --mbr-force-bootable: SystemArea.
(line 127) (line 127)
* Bootability, control, --grub2-sparc-core: SystemArea. (line 268) * Bootability, control, --grub2-sparc-core: SystemArea. (line 271)
* Bootability, control, --efi-boot: Bootable. (line 53) * Bootability, control, --efi-boot: Bootable. (line 53)
* Bootability, control, -alpha-boot: SystemArea. (line 291) * Bootability, control, -alpha-boot: SystemArea. (line 294)
* Bootability, control, -b, -eltorito-boot: Bootable. (line 32) * Bootability, control, -b, -eltorito-boot: Bootable. (line 32)
* Bootability, control, -B, -sparc-boot: SystemArea. (line 253) * Bootability, control, -B, -sparc-boot: SystemArea. (line 256)
* Bootability, control, -e: Bootable. (line 47) * Bootability, control, -e: Bootable. (line 47)
* Bootability, control, -hppa-bootloader: SystemArea. (line 280) * Bootability, control, -hppa-bootloader: SystemArea. (line 283)
* Bootability, control, -hppa-cmdline: SystemArea. (line 274) * Bootability, control, -hppa-cmdline: SystemArea. (line 277)
* Bootability, control, -hppa-hdrversion: SystemArea. (line 288) * Bootability, control, -hppa-hdrversion: SystemArea. (line 291)
* Bootability, control, -hppa-kernel_32: SystemArea. (line 282) * Bootability, control, -hppa-kernel_32: SystemArea. (line 285)
* Bootability, control, -hppa-kernel_64: SystemArea. (line 284) * Bootability, control, -hppa-kernel_64: SystemArea. (line 287)
* Bootability, control, -hppa-ramdisk: SystemArea. (line 286) * Bootability, control, -hppa-ramdisk: SystemArea. (line 289)
* Bootability, control, -mips-boot: SystemArea. (line 242) * Bootability, control, -mips-boot: SystemArea. (line 245)
* Bootability, control, -mipsel-boot: SystemArea. (line 248) * Bootability, control, -mipsel-boot: SystemArea. (line 251)
* Bootability, El Torito section id string, -eltorito-id: Bootable. * Bootability, El Torito section id string, -eltorito-id: Bootable.
(line 73) (line 73)
* Bootability, El Torito selection criteria, -eltorito-selcrit: Bootable. * Bootability, El Torito selection criteria, -eltorito-selcrit: Bootable.
(line 80) (line 80)
* Bootability, fill System Area e.g. by MBR, -G, --embedded-boot, -generic-boot: SystemArea. * Bootability, fill System Area e.g. by MBR, -G, --embedded-boot, -generic-boot: SystemArea.
(line 64) (line 64)
* Bootability, for CHRP, -chrp-boot-part: SystemArea. (line 226) * Bootability, for CHRP, -chrp-boot-part: SystemArea. (line 229)
* Bootability, for EFI, -efi-boot-part: SystemArea. (line 206) * Bootability, for EFI, -efi-boot-part: SystemArea. (line 206)
* Bootability, for PReP, -prep-boot-part: SystemArea. (line 237) * Bootability, for PReP, -prep-boot-part: SystemArea. (line 240)
* Bootability, install ISOLINUX isohybrid MBR, -isohybrid-mbr: SystemArea. * Bootability, install ISOLINUX isohybrid MBR, -isohybrid-mbr: SystemArea.
(line 83) (line 83)
* Bootability, install modern GRUB2 MBR, --grub2-mbr: SystemArea. * Bootability, install modern GRUB2 MBR, --grub2-mbr: SystemArea.
@ -2140,7 +2143,7 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
(line 116) (line 116)
* Bootability, patch System Area partition table, --protective-msdos-label: SystemArea. * Bootability, patch System Area partition table, --protective-msdos-label: SystemArea.
(line 123) (line 123)
* Bootability, SUN Disk Label text, -sparc-label: SystemArea. (line 266) * Bootability, SUN Disk Label text, -sparc-label: SystemArea. (line 269)
* Bugs, reporting: Bugreport. (line 6) * Bugs, reporting: Bugreport. (line 6)
* Character Set, for disk file names, -input-charset: Charset. * Character Set, for disk file names, -input-charset: Charset.
(line 17) (line 17)
@ -2304,22 +2307,22 @@ Node: SetHide32499
Node: ImageId33803 Node: ImageId33803
Node: Bootable38085 Node: Bootable38085
Node: SystemArea43253 Node: SystemArea43253
Node: Charset59512 Node: Charset59702
Node: Jigdo60537 Node: Jigdo60727
Node: Miscellaneous64814 Node: Miscellaneous65004
Node: Examples66459 Node: Examples66649
Node: ExSimple66953 Node: ExSimple67143
Node: ExGraft67436 Node: ExGraft67626
Node: ExMkisofs68736 Node: ExMkisofs68926
Node: ExGrowisofs70002 Node: ExGrowisofs70192
Node: ExIncBackup71192 Node: ExIncBackup71382
Node: ExIncBckAcc74353 Node: ExIncBckAcc74543
Node: ExBootable76042 Node: ExBootable76232
Node: Files80224 Node: Files80414
Node: Seealso81319 Node: Seealso81509
Node: Bugreport81968 Node: Bugreport82158
Node: Legal82559 Node: Legal82749
Node: CommandIdx83456 Node: CommandIdx83646
Node: ConceptIdx98894 Node: ConceptIdx99084
 
End Tag Table End Tag Table

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1) @c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISOFS 1 "Version 1.4.5, Aug 12, 2016" @c man .TH XORRISOFS 1 "Version 1.4.5, Aug 14, 2016"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -1725,9 +1725,11 @@ Value "random" is default. Value "modification-date" produces a low quality
GUID from the value set by option @minus{}@minus{}modification-date=. GUID from the value set by option @minus{}@minus{}modification-date=.
@* @*
A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to A string of 32 hex digits, or a RFC 4122 compliant GUID string may be used to
set the disk GUID directly. set the disk GUID directly. UEFI prescribes the first three components of
a RFC 4122 GUID string to be byte-swapped in the binary representation:
@* @*
E.g. @minus{}@minus{}gpt_disk_guid 2303cd2a-73c7-424a-a298-25632da7f446 E.g. @minus{}@minus{}gpt_disk_guid 2303cd2a-73c7-424a-a298-25632da7f446
equals @minus{}@minus{}gpt_disk_guid 2acd0323c7734a42a29825632da7f446
@* @*
The partition GUIDs get generated by minimally varying the disk GUID. The partition GUIDs get generated by minimally varying the disk GUID.
@c man .TP @c man .TP