Don't overwrite iso descriptors with new images on blank disc.
Doing so can cause the overwrite of valid filesystem info.
This commit is contained in:
parent
7d7a5dab65
commit
7d5a240fff
@ -158,6 +158,9 @@ int isoburn_activate_session(struct burn_drive *drive)
|
||||
if (o->emulation_mode != 1)
|
||||
return 1; /* don't need to activate session */
|
||||
|
||||
if (o->fabricated_disc_status != BURN_DISC_APPENDABLE)
|
||||
return 1;
|
||||
|
||||
ret = burn_random_access_write(drive, 0, (char*)o->target_iso_head, 64*2048, 0);
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user