From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Zeuthen Date: Sun, 27 Jul 2008 23:35:37 +0000 Subject: Re: cd-tray immediately closed after it has been opened Message-Id: <1217201737.3369.1.camel@x61.fubar.dk> List-Id: References: <488CCA58.7030409@plauener.de> In-Reply-To: <488CCA58.7030409@plauener.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, 2008-07-27 at 21:19 +0200, Christian Krause wrote: > Before this checkin, vol_id was only called for partitioned devices and > so the CD tray stayed open. Probably vol_id needs to use O_NONBLOCK when opening sr devices. Does that fix it? David