[comp.sys.ibm.pc.misc] Finding attached drives

rst@lucifer.UUCP ( 233) (04/12/91)

I need a method of finding out what hard discs are attached to a PC. In our
environment I need to differentiate between floppies, hard discs, network
discs and RAM discs.

Does anybody have routines in either C or assembler that would let be write
a function that takes a drive letter/number as a parameter and returns what
kind of disc it is?

I'm trying to write a program that creates a zip file of each hard disc on
a PC. The zip files are then backed up onto our mainframe and copied to tape.
Does anybody have a better backup method for PCs networked to a Unix box
using PC-NFS?

				Richard
-- 
Richard Thombs					      Lucas Powertrain Systems,
Mail:  rst@eg.lucasauto.co.uk			      Phoenix Way,
Phone: +44 285 657981 x233			      Cirencester, GL7 1QG,
Fax:   +44 285 658258 (G3)			      England.