Date: Mon, 28 Apr 2003 20:56:53 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: morellov AT tin DOT it Message-Id: <7458-Mon28Apr2003205653+0300-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3ead4f4b@shknews01> (message from Vincenzo Morello on Mon, 28 Apr 2003 17:56:48 +0200) Subject: Re: Drive type under DOS djgpp References: <3ead4f4b AT shknews01> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Mon, 28 Apr 2003 17:56:48 +0200 > From: Vincenzo Morello > > I'm wondering if there's a way to realize, using djgpp, that a given drive, say > F:, is a CDROM, a removable disk or a local HD. Call the library function `getmntent' and look at the `mnt_type' member of the struct it returns.