Raised boot catalog weight to 1000000000

This commit is contained in:
Thomas Schmitt 2010-04-20 14:02:54 +00:00
parent 6ff4a5b71b
commit 63f4b5c089
5 changed files with 50 additions and 46 deletions

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 "Apr 18, 2010" .TH XORRISO 1 "Apr 20, 2010"
.\" 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:
@ -1649,8 +1649,9 @@ attributes a LBA weight number to regular files.
.br .br
The number may range from -2147483648 to 2147483647. The higher it is, the 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. 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 Currently the boot catalog has a hardcoded weight of 1 billion.
own weights lower than that.) Normally it should occupy the block with the lowest possible address.
Data files get added or loaded with initial weight 0.
.br .br
E.g.: -exec sort_weight 3 -- E.g.: -exec sort_weight 3 --
.br .br

View File

@ -1486,9 +1486,10 @@ File: xorriso.info, Node: CmdFind, Next: Filter, Prev: Manip, Up: Options
attributes a LBA weight number to regular files. attributes a LBA weight number to regular files.
The number may range from -2147483648 to 2147483647. The The number may range from -2147483648 to 2147483647. The
higher it is, the lower will be the block address of the file higher it is, the lower will be the block address of the file
data in the emerging ISO image. (Currently the boot catalog data in the emerging ISO image. Currently the boot catalog
has a hardcoded weight of 1000. Better keep own weights lower has a hardcoded weight of 1 billion. Normally it should
than that.) occupy the block with the lowest possible address. Data
files get added or loaded with initial weight 0.
E.g.: -exec sort_weight 3 -- E.g.: -exec sort_weight 3 --
show_stream show_stream
shows the content stream chain of a data file. shows the content stream chain of a data file.
@ -4039,41 +4040,41 @@ Node: Insert39798
Node: SetInsert48155 Node: SetInsert48155
Node: Manip56722 Node: Manip56722
Node: CmdFind64598 Node: CmdFind64598
Node: Filter73845 Node: Filter73943
Node: Writing78194 Node: Writing78292
Node: SetWrite84483 Node: SetWrite84581
Node: Bootable94615 Node: Bootable94713
Node: Charset100726 Node: Charset100824
Node: Exception103480 Node: Exception103578
Node: DialogCtl107995 Node: DialogCtl108093
Node: Inquiry110340 Node: Inquiry110438
Node: Navigate114480 Node: Navigate114578
Node: Verify121834 Node: Verify121932
Node: Restore130254 Node: Restore130352
Node: Emulation136910 Node: Emulation137008
Node: Scripting143597 Node: Scripting143695
Node: Frontend149159 Node: Frontend149257
Node: Examples150360 Node: Examples150458
Node: ExDevices151529 Node: ExDevices151627
Node: ExCreate152011 Node: ExCreate152109
Node: ExDialog153285 Node: ExDialog153383
Node: ExGrowing154547 Node: ExGrowing154645
Node: ExModifying155349 Node: ExModifying155447
Node: ExBootable155850 Node: ExBootable155948
Node: ExCharset156397 Node: ExCharset156495
Node: ExPseudo157225 Node: ExPseudo157323
Node: ExCdrecord158119 Node: ExCdrecord158217
Node: ExMkisofs158434 Node: ExMkisofs158532
Node: ExGrowisofs159437 Node: ExGrowisofs159535
Node: ExException160561 Node: ExException160659
Node: ExTime161015 Node: ExTime161113
Node: ExIncBackup161474 Node: ExIncBackup161572
Node: ExRestore164946 Node: ExRestore165044
Node: ExRecovery165915 Node: ExRecovery166013
Node: Files166481 Node: Files166579
Node: Seealso167519 Node: Seealso167617
Node: Legal168043 Node: Legal168141
Node: CommandIdx168965 Node: CommandIdx169063
Node: ConceptIdx182266 Node: ConceptIdx182364
 
End Tag Table End Tag Table

View File

@ -44,7 +44,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 "Apr 18, 2010" @c man .TH XORRISO 1 "Apr 20, 2010"
@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:
@ -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 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. 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 Currently the boot catalog has a hardcoded weight of 1 billion.
own weights lower than that.) 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{} E.g.: -exec sort_weight 3 @minus{}@minus{}
@* @*

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.04.20.103448" #define Xorriso_timestamP "2010.04.20.140151"

View File

@ -1984,6 +1984,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
} }
iso_image_set_boot_platform_id(image, iso_image_set_boot_platform_id(image,
(uint8_t) xorriso->boot_platform_id); (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); el_torito_set_load_size(bootimg, xorriso->boot_image_load_size / 512);
ret= Xorriso_set_isolinux_options(xorriso, image, 0); ret= Xorriso_set_isolinux_options(xorriso, image, 0);
if(ret <= 0) if(ret <= 0)