From owner-freebsd-arch@FreeBSD.ORG Mon Jan 14 17:09:37 2008 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D04616A46B; Mon, 14 Jan 2008 17:09:37 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7F913C4CC; Mon, 14 Jan 2008 17:09:36 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 4D4701A4D7E; Mon, 14 Jan 2008 09:06:24 -0800 (PST) Date: Mon, 14 Jan 2008 09:06:24 -0800 From: Alfred Perlstein To: Andriy Gapon Message-ID: <20080114170624.GR99258@elvis.mu.org> References: <478B3EE0.8040908@icyb.net.ua> <7iir1wtp91.wl%gnn@neville-neil.com> <20080114160617.GN99258@elvis.mu.org> <478B953F.1070209@icyb.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <478B953F.1070209@icyb.net.ua> User-Agent: Mutt/1.4.2.3i Cc: gnn@freebsd.org, freebsd-arch@freebsd.org Subject: Re: cdcontrol purpose X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 17:09:37 -0000 * Andriy Gapon [080114 08:57] wrote: > So I hope my question would be clearer now: should cdcontrol be allowed > to override "prevent" issued by mount/open(2) and eject a disk in use ? > Or should it simply fail in the same way that the physical button is > disabled? It should not. If in that situation the tool does not emit a diagnostic that's useful then it could be augmented to do so. -- - Alfred Perlstein