cdcontrol purpose

Alfred Perlstein alfred at freebsd.org
Mon Jan 14 13:37:01 PST 2008


* Andriy Gapon <avg at icyb.net.ua> [080114 09:18] wrote:
> on 14/01/2008 19:06 Alfred Perlstein said the following:
> > * Andriy Gapon <avg at icyb.net.ua> [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.
> 
> Sorry, I am not completely sure which question you answered with that,
> damn alternative questions :-)
>

Regarding: 

> >> should cdcontrol be allowed
> >> to override "prevent" issued by mount/open(2) and eject a disk in use ?

It should not do this.  It should NOT eject a disk in use.

Furthermore:

> > If in that situation the tool does not emit a diagnostic that's
> > useful then it could be augmented to do so.



-- 
- Alfred Perlstein


More information about the freebsd-arch mailing list