Date: Sun, 21 Jan 1996 11:21:54 +0200 (IST) From: Eli Zaretskii To: "A.Appleyard" Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu Subject: Re: Finding which drives exist On Fri, 19 Jan 1996, A.Appleyard wrote: > I wrote a big Gnu C++ program (an emacs-type text editor). I found today that > various DOS interrupts that are supposed to make specific fault returns when I > try to access a nonexistent drive, when Novell Netware is active act very odd > and cause aborts in my program; and I have to run with Novell active most of > the time. Luckily I have managed to cobble matters together so that a > nonexistent drive looks to a user of my program like an empty drive that can't > be written to. But this is unsatisfactory. Please how in Gnu C++ can I find > easily at run time for(i='A';i<='Z';i++) whether drive i exists? And I don't In v2.0, you can call `getmntent' library function which does just that.