From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 26 17:40:11 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050E6106566C for ; Sat, 26 Mar 2011 17:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E94B48FC08 for ; Sat, 26 Mar 2011 17:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2QHeArQ094515 for ; Sat, 26 Mar 2011 17:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2QHeA09094514; Sat, 26 Mar 2011 17:40:10 GMT (envelope-from gnats) Date: Sat, 26 Mar 2011 17:40:10 GMT Message-Id: <201103261740.p2QHeA09094514@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jaakko Heinonen Cc: Subject: Re: misc/155925: CD tray is not locked even if using /dev/adc0. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jaakko Heinonen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 17:40:11 -0000 The following reply was made to PR misc/155925; it has been noted by GNATS. From: Jaakko Heinonen To: Alexander Best , koie@suri.co.jp Cc: bug-followup@FreeBSD.org Subject: Re: misc/155925: CD tray is not locked even if using /dev/adc0. Date: Sat, 26 Mar 2011 19:10:55 +0200 On 2011-03-25, Alexander Best wrote: > this issue is not limited to acd. using cdcontrol -f /dev/cd gives the same > behavior. I think this is because cdcontrol(1) first issues the CDIOCALLOW ioctl to unlock the tray. Does this patch fix your problem? http://www.saunalahti.fi/~jh3/patches/cdcontrol-no-CDIOCALLOW.diff I am inclined to think that the behavior is intentional. -- Jaakko