delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/04/01/00:11:35

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf AT redhat DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019