From dea7b755492c6947c5b50581d855e161303709ea Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 20 Apr 2010 14:02:54 +0000 Subject: [PATCH] Raised boot catalog weight to 1000000000 --- xorriso/xorriso.1 | 7 ++-- xorriso/xorriso.info | 79 +++++++++++++++++++------------------ xorriso/xorriso.texi | 7 ++-- xorriso/xorriso_timestamp.h | 2 +- xorriso/xorrisoburn.c | 1 + 5 files changed, 50 insertions(+), 46 deletions(-) diff --git a/xorriso/xorriso.1 b/xorriso/xorriso.1 index a1947856..c355ca30 100644 --- a/xorriso/xorriso.1 +++ b/xorriso/xorriso.1 @@ -9,7 +9,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH XORRISO 1 "Apr 18, 2010" +.TH XORRISO 1 "Apr 20, 2010" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -1649,8 +1649,9 @@ attributes a LBA weight number to regular files. .br The number may range from -2147483648 to 2147483647. The higher it is, the lower will be the block address of the file data in the emerging ISO image. -(Currently the boot catalog has a hardcoded weight of 1000. Better keep -own weights lower than that.) +Currently the boot catalog has a hardcoded weight of 1 billion. +Normally it should occupy the block with the lowest possible address. +Data files get added or loaded with initial weight 0. .br E.g.: -exec sort_weight 3 -- .br diff --git a/xorriso/xorriso.info b/xorriso/xorriso.info index 61ecd686..b0ea897e 100644 --- a/xorriso/xorriso.info +++ b/xorriso/xorriso.info @@ -1486,9 +1486,10 @@ File: xorriso.info, Node: CmdFind, Next: Filter, Prev: Manip, Up: Options attributes a LBA weight number to regular files. The number may range from -2147483648 to 2147483647. The higher it is, the lower will be the block address of the file - data in the emerging ISO image. (Currently the boot catalog - has a hardcoded weight of 1000. Better keep own weights lower - than that.) + data in the emerging ISO image. Currently the boot catalog + has a hardcoded weight of 1 billion. Normally it should + occupy the block with the lowest possible address. Data + files get added or loaded with initial weight 0. E.g.: -exec sort_weight 3 -- show_stream shows the content stream chain of a data file. @@ -4039,41 +4040,41 @@ Node: Insert39798 Node: SetInsert48155 Node: Manip56722 Node: CmdFind64598 -Node: Filter73845 -Node: Writing78194 -Node: SetWrite84483 -Node: Bootable94615 -Node: Charset100726 -Node: Exception103480 -Node: DialogCtl107995 -Node: Inquiry110340 -Node: Navigate114480 -Node: Verify121834 -Node: Restore130254 -Node: Emulation136910 -Node: Scripting143597 -Node: Frontend149159 -Node: Examples150360 -Node: ExDevices151529 -Node: ExCreate152011 -Node: ExDialog153285 -Node: ExGrowing154547 -Node: ExModifying155349 -Node: ExBootable155850 -Node: ExCharset156397 -Node: ExPseudo157225 -Node: ExCdrecord158119 -Node: ExMkisofs158434 -Node: ExGrowisofs159437 -Node: ExException160561 -Node: ExTime161015 -Node: ExIncBackup161474 -Node: ExRestore164946 -Node: ExRecovery165915 -Node: Files166481 -Node: Seealso167519 -Node: Legal168043 -Node: CommandIdx168965 -Node: ConceptIdx182266 +Node: Filter73943 +Node: Writing78292 +Node: SetWrite84581 +Node: Bootable94713 +Node: Charset100824 +Node: Exception103578 +Node: DialogCtl108093 +Node: Inquiry110438 +Node: Navigate114578 +Node: Verify121932 +Node: Restore130352 +Node: Emulation137008 +Node: Scripting143695 +Node: Frontend149257 +Node: Examples150458 +Node: ExDevices151627 +Node: ExCreate152109 +Node: ExDialog153383 +Node: ExGrowing154645 +Node: ExModifying155447 +Node: ExBootable155948 +Node: ExCharset156495 +Node: ExPseudo157323 +Node: ExCdrecord158217 +Node: ExMkisofs158532 +Node: ExGrowisofs159535 +Node: ExException160659 +Node: ExTime161113 +Node: ExIncBackup161572 +Node: ExRestore165044 +Node: ExRecovery166013 +Node: Files166579 +Node: Seealso167617 +Node: Legal168141 +Node: CommandIdx169063 +Node: ConceptIdx182364  End Tag Table diff --git a/xorriso/xorriso.texi b/xorriso/xorriso.texi index 42746eb5..51d66c95 100644 --- a/xorriso/xorriso.texi +++ b/xorriso/xorriso.texi @@ -44,7 +44,7 @@ @c man .\" First parameter, NAME, should be all caps @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 .TH XORRISO 1 "Apr 18, 2010" +@c man .TH XORRISO 1 "Apr 20, 2010" @c man .\" Please adjust this date whenever revising the manpage. @c man .\" @c man .\" Some roff macros, for reference: @@ -2004,8 +2004,9 @@ attributes a LBA weight number to regular files. @* The number may range from -2147483648 to 2147483647. The higher it is, the lower will be the block address of the file data in the emerging ISO image. -(Currently the boot catalog has a hardcoded weight of 1000. Better keep -own weights lower than that.) +Currently the boot catalog has a hardcoded weight of 1 billion. +Normally it should occupy the block with the lowest possible address. +Data files get added or loaded with initial weight 0. @* E.g.: -exec sort_weight 3 @minus{}@minus{} @* diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index f58dc689..f66c16c7 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.04.20.103448" +#define Xorriso_timestamP "2010.04.20.140151" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index 038fcb2c..f082f0ab 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -1984,6 +1984,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag) } iso_image_set_boot_platform_id(image, (uint8_t) xorriso->boot_platform_id); + iso_image_set_boot_catalog_weight(image, 1000000000); el_torito_set_load_size(bootimg, xorriso->boot_image_load_size / 512); ret= Xorriso_set_isolinux_options(xorriso, image, 0); if(ret <= 0)