This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Changed getmntent behavior


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]