Xref: news2.mv.net comp.os.msdos.djgpp:2643 From: malcolm AT manawatu DOT gen DOT nz (Malcolm Taylor) Newsgroups: comp.os.msdos.djgpp Subject: Re: Detecting drives Date: Fri, 12 Apr 1996 00:32:01 GMT Organization: Grafik Software Lines: 13 Message-ID: <4kkbrm$1rk@news.manawatu.gen.nz> References: Reply-To: malcolm AT manawatu DOT gen DOT nz NNTP-Posting-Host: malcolm.manawatu.gen.nz Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Eli Zaretskii wrote: >where DJGPP can run. (You could think that DOS calls are also a solution, >but some DPMI servers will GP fault if you try to access an empty drive >with a DOS call, so you should hook Int 24h if you want to prevent this.) Really? Which DPMI providers do this? I use a findfirst on the drive looking for a volume label, which of course fails with no disk in the drive. Would this cause a GP fault on some DPMI providers? Malcolm