From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: [announce] dosemu-1.3.2 Date: Mon, 23 May 2005 07:49:23 +0400 Message-ID: <429152C3.5040807@aknet.ru> References: <4290BCF9.2070906@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Robert Komar wrote: > even if it was empty. I don't know if this would solve Zoltan's > problem, but it is probably worth changing the open statements in > src/dosext/drivers/cdrom.c to use O_NONBLOCK. Done, thanks. It works better now, but still not 100% reliably for me. There might be some other bug too (for example, if I start dosemu, then mount the cdrom under linux, then unmount it, dosemu can't eject it again - I'll see what happens with it). The strange thing is that this code was never changed, and dosemu was able to get away without O_NONBLOCK in the past somehow (which doesn't mean it was doing the right thing of course).