Article View: comp.sys.ibm.pc
Article #14672Re: number of DOS drives
From: R.D.Eager
Date: Sat, 06 Dec 1986 13:44
Date: Sat, 06 Dec 1986 13:44
17 lines
1181 bytes
1181 bytes
I have been following the discussion of how to discover number of
drives, with interest. I may have missed something, and I agree there
are portability issues, but how about using one of the techniques for
looking at the device driver chain (you know, open NUL and grab the link
to the next driver, etc.)?
This works even if third party drives, 20 floppies, etc. are
fitted. Just count the number of block device drivers...
--
Bob Eager
rde@ukc.UUCP
rde@ukc
...!mcvax!ukc!rde
Phone: +44 227 66822 ext 7589
Technical Details
Message-ID:
<2230@eagle.ukc.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!rdeReferences:
<2268@sdcsvax.UCSD.EDU> <623@bucsb.bu.edu.UUCP> <1450@isis.UUCP> <630@bucsb.bu.edu.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!rde From: rde@ukc.ac.uk (R.D.Eager) Newsgroups: comp.sys.ibm.pc Subject: Re: number of DOS drives Message-ID: <2230@eagle.ukc.ac.uk> Date: Sat, 6-Dec-86 08:44:07 EST Article-I.D.: eagle.2230 Posted: Sat Dec 6 08:44:07 1986 Date-Received: Sun, 7-Dec-86 05:23:05 EST References: <2268@sdcsvax.UCSD.EDU> <623@bucsb.bu.edu.UUCP> <1450@isis.UUCP> <630@bucsb.bu.edu.UUCP> Reply-To: rde@ukc.ac.uk (R.D.Eager) Organization: U of Kent at Canterbury, Canterbury, UK Lines: 17