From 3b4cb93553db2a15c13815ed165697496c4f1491 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 7 May 2011 10:50:13 +0000 Subject: [PATCH] Bug fix: -mount_opts "shared" worked only with -osirrox "o_excl_off" --- libisoburn/trunk/xorriso/iso_img.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/xorriso/iso_img.c b/libisoburn/trunk/xorriso/iso_img.c index 56c5563d..fb705869 100644 --- a/libisoburn/trunk/xorriso/iso_img.c +++ b/libisoburn/trunk/xorriso/iso_img.c @@ -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;