From owner-cvs-all Mon Jan 8 15:33:50 2001 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 7A95A37B401; Mon, 8 Jan 2001 15:33:24 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 49B1C6A90D; Tue, 9 Jan 2001 10:03:21 +1030 (CST) Date: Tue, 9 Jan 2001 10:03:21 +1030 From: Greg Lehey To: "Brian F. Feldman" 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: <20010109100321.I83353@wantadilla.lemis.com> References: <200101080844.f088ilU41376@green.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200101080844.f088ilU41376@green.dyndns.org>; from green@FreeBSD.org on Mon, Jan 08, 2001 at 03:44:46AM -0500 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 8 January 2001 at 3:44:46 -0500, Brian F. Feldman wrote: > Greg Lehey wrote: >> On Monday, 8 January 2001 at 8:24:20 +0100, Søren Schmidt wrote: >>> It seems Matt Dillon wrote: >>>> Umm. I'm going to be a pest: If the drive tray is open the very 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 happen under >>>> FreeBSD just because some program (say, like sysinstall) tries to 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 because > 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. This is a separate issue. Yes, I'd like the open command to wait a little while if the drive isn't ready. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message