Letting libisofs do the padding with -jigdo, rather than disabling padding

This commit is contained in:
Thomas Schmitt 2010-10-02 21:03:29 +00:00
parent 147ef216ce
commit 5a3acfc41a
4 changed files with 64 additions and 61 deletions

View File

@ -146,7 +146,7 @@ no_track:;
#ifdef Xorriso_with_libjtE #ifdef Xorriso_with_libjtE
if(xorriso->libjte_handle != NULL) if(xorriso->libjte_handle != NULL)
padding= 0; /* JTE : no multi-session, no_emul_toc, and no padding */ padding= 0; /* JTE : no multi-session, no_emul_toc, padding in libisofs */
#endif /* ! Xorriso_with_libjtE */ #endif /* ! Xorriso_with_libjtE */
burn_track_define_data(tracks[0], 0, padding * 2048, 0, BURN_MODE1); burn_track_define_data(tracks[0], 0, padding * 2048, 0, BURN_MODE1);
@ -753,6 +753,9 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
/* >>> Check whether the mandatory parameters are set */; /* >>> Check whether the mandatory parameters are set */;
isoburn_igopt_attach_jte(sopts, xorriso->libjte_handle); isoburn_igopt_attach_jte(sopts, xorriso->libjte_handle);
/* Padding to be done by libisofs, not by libburn */
isoburn_igopt_set_tail_blocks(sopts, (uint32_t) (xorriso->padding / 2048));
} }
#endif /* Xorriso_with_libjtE */ #endif /* Xorriso_with_libjtE */

View File

@ -1,5 +1,5 @@
This is xorriso.info, produced by makeinfo version 4.8 from This is xorriso/xorriso.info, produced by makeinfo version 4.8 from
./xorriso.texi. ./xorriso/xorriso.texi.
INFO-DIR-SECTION Archiving INFO-DIR-SECTION Archiving
START-INFO-DIR-ENTRY START-INFO-DIR-ENTRY
@ -2168,8 +2168,8 @@ text line:
MD5 as 32 hex digits, 2 blanks, size as 12 decimal digits or blanks, 2 MD5 as 32 hex digits, 2 blanks, size as 12 decimal digits or blanks, 2
blanks, absolute path in the disk filesystem as given to xorriso. blanks, absolute path in the disk filesystem as given to xorriso.
If the list of jigdo parameters is not empty, then xorriso will refuse If the list of jigdo parameters is not empty, then xorriso will refuse
to write to non-blank targets, it will disable multi-session emulation to write to non-blank targets, it will disable multi-session emulation,
and padding. and eventual padding will be counted as part of the ISO image.
-jigdo parameter_name value -jigdo parameter_name value
Clear Jigdo Template Extraction parameter list or add a parameter Clear Jigdo Template Extraction parameter list or add a parameter
@ -4248,58 +4248,58 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
 
Tag Table: Tag Table:
Node: Top420 Node: Top436
Node: Overview1324 Node: Overview1340
Node: Model3209 Node: Model3225
Node: Media6089 Node: Media6105
Node: Methods8739 Node: Methods8755
Node: Drives11295 Node: Drives11311
Node: Extras14601 Node: Extras14617
Node: Processing18028 Node: Processing18044
Node: Dialog21524 Node: Dialog21540
Node: Options23181 Node: Options23197
Node: AqDrive24799 Node: AqDrive24815
Node: Loading27705 Node: Loading27721
Node: Insert39884 Node: Insert39900
Node: SetInsert48241 Node: SetInsert48257
Node: Manip56808 Node: Manip56824
Node: CmdFind65489 Node: CmdFind65505
Node: Filter75440 Node: Filter75456
Node: Writing79789 Node: Writing79805
Node: SetWrite86078 Node: SetWrite86094
Node: Bootable98029 Node: Bootable98045
Node: Jigdo107119 Node: Jigdo107135
Node: Charset110410 Node: Charset110477
Node: Exception113161 Node: Exception113228
Node: DialogCtl117676 Node: DialogCtl117743
Node: Inquiry120021 Node: Inquiry120088
Node: Navigate124151 Node: Navigate124218
Node: Verify131749 Node: Verify131816
Node: Restore140169 Node: Restore140236
Node: Emulation146825 Node: Emulation146892
Node: Scripting154825 Node: Scripting154892
Node: Frontend160387 Node: Frontend160454
Node: Examples161588 Node: Examples161655
Node: ExDevices162757 Node: ExDevices162824
Node: ExCreate163391 Node: ExCreate163458
Node: ExDialog164665 Node: ExDialog164732
Node: ExGrowing165927 Node: ExGrowing165994
Node: ExModifying166729 Node: ExModifying166796
Node: ExBootable167230 Node: ExBootable167297
Node: ExCharset167777 Node: ExCharset167844
Node: ExPseudo168605 Node: ExPseudo168672
Node: ExCdrecord169499 Node: ExCdrecord169566
Node: ExMkisofs169814 Node: ExMkisofs169881
Node: ExGrowisofs170817 Node: ExGrowisofs170884
Node: ExException171941 Node: ExException172008
Node: ExTime172395 Node: ExTime172462
Node: ExIncBackup172854 Node: ExIncBackup172921
Node: ExRestore176326 Node: ExRestore176393
Node: ExRecovery177295 Node: ExRecovery177362
Node: Files177861 Node: Files177928
Node: Seealso179089 Node: Seealso179156
Node: Legal179613 Node: Legal179680
Node: CommandIdx180535 Node: CommandIdx180602
Node: ConceptIdx194479 Node: ConceptIdx194546
 
End Tag Table End Tag Table

View File

@ -2907,8 +2907,8 @@ MD5 as 32 hex digits, 2 blanks, size as 12 decimal digits or blanks, 2 blanks,
absolute path in the disk filesystem as given to xorriso. absolute path in the disk filesystem as given to xorriso.
@* @*
If the list of jigdo parameters is not empty, then xorriso will refuse to If the list of jigdo parameters is not empty, then xorriso will refuse to
write to non-blank targets, it will disable multi-session emulation and write to non-blank targets, it will disable multi-session emulation, and
padding. eventual padding will be counted as part of the ISO image.
@* @*
@table @asis @table @asis
@sp 1 @sp 1

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.10.02.210023" #define Xorriso_timestamP "2010.10.02.210305"