Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2001 10:03:21 +1030
From:      Greg Lehey <grog@lemis.com>
To:        "Brian F. Feldman" <green@FreeBSD.org>
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>
In-Reply-To: <200101080844.f088ilU41376@green.dyndns.org>; from green@FreeBSD.org on Mon, Jan 08, 2001 at 03:44:46AM -0500
References:  <grog@lemis.com> <200101080844.f088ilU41376@green.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday,  8 January 2001 at  3:44:46 -0500, Brian F. Feldman wrote:
> Greg Lehey <grog@lemis.com> 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




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