Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 08:06:17 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        gnn@freebsd.org
Cc:        Andriy Gapon <avg@icyb.net.ua>, freebsd-arch@freebsd.org
Subject:   Re: cdcontrol purpose
Message-ID:  <20080114160617.GN99258@elvis.mu.org>
In-Reply-To: <7iir1wtp91.wl%gnn@neville-neil.com>
References:  <478B3EE0.8040908@icyb.net.ua> <7iir1wtp91.wl%gnn@neville-neil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* gnn@freebsd.org <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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080114160617.GN99258>