Xref: news2.mv.net comp.os.msdos.djgpp:2471 From: nicolas AT dsys DOT ceng DOT cea DOT fr (Eric NICOLAS) Newsgroups: comp.os.msdos.djgpp Subject: Re: Detecting drives Date: 5 Apr 1996 08:59:57 GMT Organization: Commissariat a l'Energie Atomique (CEA, France) Lines: 19 Message-ID: <4k2ned$673@news.cea.fr> References: <4jvo8p$3ol AT daneel DOT dnet DOT co DOT uk> Reply-To: nicolas AT dsys DOT ceng DOT cea DOT fr NNTP-Posting-Host: hudson.ceng.cea.fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >Can someone tell me how to detect which drives are actually valid ? Take a look in the /tests subdirectory from djgpp v2. There is somewhere three little example programs about doing this. search for 'getmntent' string in the subdirs od /tests. Combining the three programs, you should be able to do what you wanted to. Hope it helps. -- Eric Nicolas Take a look to the SWORD home page : http://mimine.iut.univ-metz.fr/~borysgr/sword.web/home.html