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
.\" 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

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.
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

View File

@ -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{}
@*

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,
(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)