Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2001 03:44:46 -0500
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Greg Lehey <grog@lemis.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: please do not close the drive tray automatically. (was Re: cvs commit: src/sys/dev/ata atapi-cd.c) 
Message-ID:  <200101080844.f088ilU41376@green.dyndns.org>
In-Reply-To: Message from Greg Lehey <grog@lemis.com>  of "Mon, 08 Jan 2001 18:26:11 %2B1030." <20010108182611.C83353@wantadilla.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey <grog@lemis.com> wrote:
> On Monday,  8 January 2001 at  8:24:20 +0100, S=F8ren Schmidt wrote:
> > It seems Matt Dillon wrote:
> >>     Umm.  I'm going to be a pest:  If the drive tray is open the ver=
y LAST
> >>     thing I want is for the device driver to try to close it on me. =
 A
> >>     windows box *destroyed* a CD (by scratching the hell out of it) =
that I
> >>     was trying to insert into the machine by closing the drive tray =
before
> >>     I had the CD completely seated.  I do not want the same to happe=
n under
> >>     FreeBSD just because some program (say, like sysinstall) tries t=
o open
> >>     the CD device.
> >
> > Hmm, I think its a pretty nice idea actually, maybe we should call a
> > vote for this feature ? Whats happening on the voting thing that
> > was talked so much about ?
> =

> I don't think we need to vote on it, but if others do, I don't have a
> problem.
> =

> It seems that a sysctl would do the job nicely in this case, if you
> find anybody else who wants the feature.

I want it, not because I forget to close the tray or anything, but becaus=
e =

I'd like open() to wait for the disc to come ready rather than just give =
me =

errors.  I don't like manually having to wait and try a command until the=
 =

drive succeeds.  Therefore, I'd like to see this as a sysctl, disabled by=
 =

default because that would be POLA.  It would be least astonishing becaus=
e, =

of course, FreeBSD has never done this before.

The major question is what would happen with VMware.  I'd not like to hav=
e =

VMware do strange things with me, like close my tray while I'm trying to =
put =

in a disc, because I think it does a sort of polling.  Because of the dan=
ger =

of this kind of thing, I think it should probably be off by default, too.=


-- =

 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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