From owner-freebsd-questions@FreeBSD.ORG Thu Dec 13 10:10:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3410D16A419 for ; Thu, 13 Dec 2007 10:10:02 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id CAA8B13C45A for ; Thu, 13 Dec 2007 10:10:01 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by wmail.teledomenet.gr (Postfix, from userid 1002) id B87251C8447; Thu, 13 Dec 2007 12:09:59 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on wmail.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.7-deb Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id CDDF51C843B; Thu, 13 Dec 2007 12:09:46 +0200 (EET) From: Nikos Vassiliadis To: Andriy Gapon Date: Thu, 13 Dec 2007 12:13:36 +0200 User-Agent: KMail/1.9.7 References: <475FC26C.3030508@icyb.net.ua> <200712130930.08558.nvass@teledomenet.gr> <4760FE68.60001@icyb.net.ua> In-Reply-To: <4760FE68.60001@icyb.net.ua> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712131213.37478.nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: mounted cd and tray locking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 10:10:02 -0000 On Thursday 13 December 2007 11:42:00 Andriy Gapon wrote: > on 13/12/2007 09:30 Nikos Vassiliadis said the following: > > On Wednesday 12 December 2007 18:58:44 Andriy Gapon wrote: > >> Hmm. Looked at the code and it should be as expected. Played with > >> various stuff and here's what I think: it seems that having atapicam > >> and hald and maybe something in KDE that polls for CD change is to > >> blame. > > > > I have no atapicam in my kernel. Nor hald running. > > I reproduced it like this: > > mount /cdrom > > cdcontrol eject > > I don't think you reproduced it. Why would you execute the above command > unless it is your intention to eject the disk ? You got it wrong. cdcontrol *does not* eject the disk, it works correctly, as it should. cdcontrol never ejects mounted media. It triggers the situation where I can then press the eject key on the cdrom and really eject the cdrom. > I am talking about something else, disk is ejected even if my cat > accidentally touches eject button and he is not smart enough to type any > commands on console :-) Well, I don't have a cat, it's just a figure of > speech. Nevertheless ejecting a mounted medium is wrong. And that's not a feature. This is obviously a problem, regardless of how you trigger it. Would you like to file a PR? Nikos