From owner-cvs-all Mon Jan 8 0:45:25 2001 Delivered-To: cvs-all@freebsd.org Received: from green.dyndns.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 3E97437B402; Mon, 8 Jan 2001 00:45:00 -0800 (PST) Received: from localhost (585i6o@localhost [127.0.0.1]) by green.dyndns.org (8.11.1/8.11.1) with ESMTP id f088ilU41376; Mon, 8 Jan 2001 03:44:49 -0500 (EST) (envelope-from green@FreeBSD.org) Message-Id: <200101080844.f088ilU41376@green.dyndns.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Greg Lehey 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) In-Reply-To: Message from Greg Lehey of "Mon, 08 Jan 2001 18:26:11 +1030." <20010108182611.C83353@wantadilla.lemis.com> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 08 Jan 2001 03:44:46 -0500 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey 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