Bug fix: -mount_opts "shared" worked only with -osirrox "o_excl_off"

This commit is contained in:
Thomas Schmitt 2011-05-07 10:50:13 +00:00
parent 809c28e671
commit 2f84695278

View File

@ -977,7 +977,8 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
{ret= -1; goto ex;}
if(ret == 0 && strncmp(dev, "stdio:", 6) != 0)
sprintf(libburn_adr, "stdio:%s", dev);
burn_preset_device_open(xorriso->drives_exclusive, 0, 0);
burn_preset_device_open(
xorriso->drives_exclusive && !(xorriso->mount_opts_flag & 1), 0, 0);
aquire_flag= 1;
if((xorriso->toc_emulation_flag & 2) && adr_mode == 3)
aquire_flag|= 16;