🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.msdos.programmer
1 messages
1 total messages Started by David Arasmith Thu, 13 Sep 1990 02:21
Checking for disk characteristics
#558
Author: David Arasmith
Date: Thu, 13 Sep 1990 02:21
18 lines
1379 bytes
   I have a question for those out there more knowledgable than myself.
I am trying to determine the number of logical hard drives on any garden
variety IBM PC or PS/2 from within Turbo C(++ v1.0).  I cannot assume
that functions such as setdisk() will give reliable information.

  What I need is a way to check a particular drive without encountering
the infamous Abort, Retry, Fail.  Does someone out there know an easy
way to poke a drive (and determine if it is fixed or floppy) without
forcing a user to insert a floppy?  (I'm not worried about a: & b: - it's
the d:'s e:'s and f:'s hanging off the back that concern me!)

Thanks a lot!  Email is more likely to get to me (actually me to it).
-- 
David M. Arasmith   |  arasmith@mathcs.emory.edu	        Internet
Emory University    |  {sun!sunatl,gatech}!emory!arasmith	UUCP
Dept of Math and CS |  
Atlanta, GA 30322   |  I should be working!  Gee....I wonder what's on TV?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads