From c51f3813fe40eec7fff5676fb052e1d92c455bf5 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 13 Jun 2020 10:52:42 +0200 Subject: [PATCH] Mentioned in man xorrisofs the directory tree limitation of HFS+ --- xorriso/xorrisofs.1 | 7 ++++ xorriso/xorrisofs.info | 74 +++++++++++++++++++++++------------------- xorriso/xorrisofs.texi | 7 ++++ 3 files changed, 54 insertions(+), 34 deletions(-) diff --git a/xorriso/xorrisofs.1 b/xorriso/xorrisofs.1 index f2d73a9f..23882b35 100644 --- a/xorriso/xorrisofs.1 +++ b/xorriso/xorrisofs.1 @@ -749,6 +749,13 @@ with upper\-case and lower\-case letters. Therefore, file names from the iso_rr name tree may collide in the HFS+ name tree. In this case they get changed by adding underscore characters and counting numbers. In case of very long names, it might be necessary to map them to "MANGLED_...". +.br +WARNING: +.br +The HFS+ implementation in libisofs has a limit of 125,829,120 bytes for the +size of the overall directory tree. This suffices for about 300,000 files +of normal name length. If the limit gets exceeded, a FAILURE event will be +issued and the ISO production will not happen. .TP \fB\-hfsplus-serial-no\fR Set a string of 16 digits "0" to "9" diff --git a/xorriso/xorrisofs.info b/xorriso/xorrisofs.info index c728c304..6e6e4862 100644 --- a/xorriso/xorrisofs.info +++ b/xorriso/xorrisofs.info @@ -677,6 +677,12 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op In this case they get changed by adding underscore characters and counting numbers. In case of very long names, it might be necessary to map them to "MANGLED_...". + WARNING: + The HFS+ implementation in libisofs has a limit of 125,829,120 + bytes for the size of the overall directory tree. This suffices + for about 300,000 files of normal name length. If the limit gets + exceeded, a FAILURE event will be issued and the ISO production + will not happen. -hfsplus-serial-no Set a string of 16 digits "0" to "9" and letters "a" to "f", which will be used as unique serial number of an emerging HFS+ @@ -2065,15 +2071,15 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T (line 29) * -hard-disk-boot El Torito boot image emulation: Bootable. (line 83) * -help list supported options: Miscellaneous. (line 21) -* -hfs-bless HFS+ blessing ppc_bootdir: SetExtras. (line 215) -* -hfs-bless-by HFS+ blessing: SetExtras. (line 205) +* -hfs-bless HFS+ blessing ppc_bootdir: SetExtras. (line 221) +* -hfs-bless-by HFS+ blessing: SetExtras. (line 211) * -hfsplus enable production of HFS+ partition: SetExtras. (line 164) -* -hfsplus-block-size set APM block size: SetExtras. (line 195) +* -hfsplus-block-size set APM block size: SetExtras. (line 201) * -hfsplus-block-size set HFS+ allocation block size: SetExtras. - (line 191) + (line 197) * -hfsplus-file-creator-type HFS+ creator-type attribute: SetExtras. - (line 202) -* -hfsplus-serial-no set HFS+ serial number: SetExtras. (line 187) + (line 208) +* -hfsplus-serial-no set HFS+ serial number: SetExtras. (line 193) * -hide keep matching files invisible in ISO tree: SetHide. (line 8) * -hide-hfsplus keep matching files invisible in HFS+ tree: SetHide. (line 25) @@ -2300,13 +2306,13 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * GPT, _definition: SystemArea. (line 13) * Group, for all files, -gid: SetProduct. (line 83) * HFS+, enables production: SetExtras. (line 164) -* HFS+, issue blessing ppc_bootdir, -hfs-bless: SetExtras. (line 215) -* HFS+, issue blessing, -hfs-bless-by: SetExtras. (line 205) -* HFS+, set allocation block size: SetExtras. (line 191) -* HFS+, set APM block size: SetExtras. (line 195) +* HFS+, issue blessing ppc_bootdir, -hfs-bless: SetExtras. (line 221) +* HFS+, issue blessing, -hfs-bless-by: SetExtras. (line 211) +* HFS+, set allocation block size: SetExtras. (line 197) +* HFS+, set APM block size: SetExtras. (line 201) * HFS+, set creator and type of file, -hfsplus-file-creator-type: SetExtras. - (line 202) -* HFS+, set serial number: SetExtras. (line 187) + (line 208) +* HFS+, set serial number: SetExtras. (line 193) * HFS+, _definition: Standards. (line 32) * Hiding, from HFS+, -hide-hfsplus: SetHide. (line 25) * Hiding, from HFS+, -hide-hfsplus-list: SetHide. (line 28) @@ -2437,27 +2443,27 @@ Node: SetInsert9530 Node: SetProduct13939 Node: SetCompl19510 Node: SetExtras22102 -Node: SetHide33397 -Node: ImageId34701 -Node: Bootable38983 -Node: SystemArea45269 -Node: Charset63501 -Node: Jigdo64526 -Node: Miscellaneous69496 -Node: Examples71141 -Node: ExSimple71635 -Node: ExGraft72118 -Node: ExMkisofs73418 -Node: ExGrowisofs75226 -Node: ExIncBackup76416 -Node: ExIncBckAcc79592 -Node: ExBootable81297 -Node: Files85479 -Node: Environ86574 -Node: Seealso87447 -Node: Bugreport88098 -Node: Legal88691 -Node: CommandIdx89588 -Node: ConceptIdx105940 +Node: SetHide33711 +Node: ImageId35015 +Node: Bootable39297 +Node: SystemArea45583 +Node: Charset63815 +Node: Jigdo64840 +Node: Miscellaneous69810 +Node: Examples71455 +Node: ExSimple71949 +Node: ExGraft72432 +Node: ExMkisofs73732 +Node: ExGrowisofs75540 +Node: ExIncBackup76730 +Node: ExIncBckAcc79906 +Node: ExBootable81611 +Node: Files85793 +Node: Environ86888 +Node: Seealso87761 +Node: Bugreport88412 +Node: Legal89005 +Node: CommandIdx89902 +Node: ConceptIdx106254  End Tag Table diff --git a/xorriso/xorrisofs.texi b/xorriso/xorrisofs.texi index 5e74c961..e579dd63 100644 --- a/xorriso/xorrisofs.texi +++ b/xorriso/xorrisofs.texi @@ -1028,6 +1028,13 @@ with upper-case and lower-case letters. Therefore, file names from the iso_rr name tree may collide in the HFS+ name tree. In this case they get changed by adding underscore characters and counting numbers. In case of very long names, it might be necessary to map them to "MANGLED_...". +@* +WARNING: +@* +The HFS+ implementation in libisofs has a limit of 125,829,120 bytes for the +size of the overall directory tree. This suffices for about 300,000 files +of normal name length. If the limit gets exceeded, a FAILURE event will be +issued and the ISO production will not happen. @c man .TP @item -hfsplus-serial-no @kindex -hfsplus-serial-no set HFS+ serial number