Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Sun, 1 Apr 2001 00:12:10 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: Changed getmntent behavior Message-ID: <20010401001210.A9697@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20010331221311 DOT A8704 AT redhat DOT com> <200104010315 DOT WAA26931 AT envy DOT delorie DOT com> <20010331234858 DOT B8977 AT redhat DOT com> <200104010449 DOT XAA29556 AT envy DOT delorie DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <200104010449.XAA29556@envy.delorie.com>; from dj@delorie.com on Sat, Mar 31, 2001 at 11:49:12PM -0500 On Sat, Mar 31, 2001 at 11:49:12PM -0500, DJ Delorie wrote: >>I don't think it is possible to detect if a drive has medium without >>pausing. Do you know of an Windows function which checks for this? > >Not off the top of my head. DJGPP does it, but we put a lot of effort >into getting it right. DOS offers little help ;) Deja.com seems to indicate that it isn't possible with a floppy without trying to do a seek. I don't think I want to slow down every mount, so I've removed floppies from consideration. I also removed CD-ROMs with no media from consideration. If there is media in the drive then it is reported. cgf