From: fighteer AT cs DOT com (John M. Aldrich) Newsgroups: comp.os.msdos.djgpp Subject: Re: How can I tell what type of disk drive a letter is? Date: Sat, 22 Feb 1997 21:11:27 GMT Organization: Two pounds of chaos and a pinch of salt Lines: 19 Message-ID: <330f6091.3946745@news.alterdial.uu.net> References: <330E560F DOT 320F AT osha DOT igs DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp103.cs.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Fri, 21 Feb 1997 21:12:33 -0500, Delong wrote: >I am trying to distinguish between drives by their type in my program, >but I can't find any functions that return some indication. > >Anyone know how to do it? Look up 'getmntent' in the libc documentation. It should do exactly what you are looking for. hth! --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | * Proud user of DJGPP! * | http://www.cs.com/fighteer | | ObJoke: If Bill Gates were a robber, not only would he | | shoot you, but he'd send you a bill for the bullets. | ---------------------------------------------------------------------