Bug fix: -mount_opts "shared" worked only with -osirrox "o_excl_off"
This commit is contained in:
parent
b8fa58002e
commit
3b4cb93553
@ -977,7 +977,8 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
|
|||||||
{ret= -1; goto ex;}
|
{ret= -1; goto ex;}
|
||||||
if(ret == 0 && strncmp(dev, "stdio:", 6) != 0)
|
if(ret == 0 && strncmp(dev, "stdio:", 6) != 0)
|
||||||
sprintf(libburn_adr, "stdio:%s", dev);
|
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;
|
aquire_flag= 1;
|
||||||
if((xorriso->toc_emulation_flag & 2) && adr_mode == 3)
|
if((xorriso->toc_emulation_flag & 2) && adr_mode == 3)
|
||||||
aquire_flag|= 16;
|
aquire_flag|= 16;
|
||||||
|
Loading…
Reference in New Issue
Block a user