Aligned sessions on overwriteables to full 32 blocks
This commit is contained in:
parent
ca1919dda0
commit
6934bcc9a6
@ -15829,7 +15829,7 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
|
||||
" -load \"session\"|\"track\"|\"lba\"|\"sbsector\"|\"volid\"|\"auto\" id",
|
||||
" Load a particular (outdated) ISO image from a -dev or",
|
||||
" -indev which hosts more than one session.",
|
||||
" -rom_toc_scan \"on\"|\"off\"[:\"emul_on\"|\"emul_off\"]",
|
||||
" -rom_toc_scan \"on\"|\"force\"|\"off\"[:\"emul_on\"|\"emul_off\"]",
|
||||
" Enable scanning for ISO sessions on read-only drives/media",
|
||||
" resp. on overwriteable media with emulated TOC.",
|
||||
" -calm_drive \"in\"|\"out\"|\"all\"|\"on\"|\"off\"",
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2009.10.07.080042"
|
||||
#define Xorriso_timestamP "2009.10.07.124047"
|
||||
|
@ -1485,6 +1485,16 @@ no_track:;
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
|
||||
}
|
||||
}
|
||||
if(xorriso->alignment == 0) {
|
||||
ret= isoburn_needs_emulation(drive);
|
||||
if(ret > 0) {
|
||||
/* Take care that the session is padded up to the future NWA.
|
||||
Else with padding < 32 it could happen that PVDs from older
|
||||
sessions survive and confuse -rom_toc_scan.
|
||||
*/
|
||||
xorriso->alignment= 32;
|
||||
}
|
||||
}
|
||||
if(xorriso->alignment > 0) {
|
||||
if(img_sectors > 0) {
|
||||
ret= isoburn_disc_track_lba_nwa(drive, burn_options, 0, &lba, &nwa);
|
||||
|
Loading…
Reference in New Issue
Block a user