From owner-freebsd-arch@FreeBSD.ORG Mon Jan 14 16:09:30 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 0475E16A47B for ; Mon, 14 Jan 2008 16:09:30 +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 CAE3513C45B for ; Mon, 14 Jan 2008 16:09:29 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 3986C1A4D80; Mon, 14 Jan 2008 08:06:17 -0800 (PST) Date: Mon, 14 Jan 2008 08:06:17 -0800 From: Alfred Perlstein To: gnn@freebsd.org Message-ID: <20080114160617.GN99258@elvis.mu.org> References: <478B3EE0.8040908@icyb.net.ua> <7iir1wtp91.wl%gnn@neville-neil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7iir1wtp91.wl%gnn@neville-neil.com> User-Agent: Mutt/1.4.2.3i Cc: Andriy Gapon , 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 16:09:30 -0000 * gnn@freebsd.org [080114 07:11] wrote: > At Mon, 14 Jan 2008 12:52:16 +0200, > Andriy Gapon wrote: > > > > > > The following question may seem to be offtopic for this list, but I > > think that it's not because it is related not only to cdcontrol utility > > itself but also to the CD-ROM drivers. > > > > The question: should cdcontrol utility be able to eject a mounted disk > > (i.e. a filesystem on the disk is mounted) ? > > > > I come down on the side of "separation of concerns" and think that > mount should deal with filesystems and that cdcontrol should not. I agree. I can't tell if Andriy is suggesting that cdcontrol unmount the filesystem forcefully or at least attempt to unmount it. I would say that it might make sense for cdcontrol to grow a flag to "unmount non-forcefully if mounted", but certainly not to unmount by default. -- - Alfred Perlstein