🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7177

Method to detect RAM drives?

#7177
From: Evan Mills
Date: Thu, 20 Jun 1991 19:48
21 lines
1416 bytes
I'm working on a project where I need to gather information on
all or some of the disk drives installed in a system.
Using the undocumented "List of Lists" I'm able to check-- via
the array of Current Directory Structures-- if a drive is valid, 
SUBST'ed, JOIN'ed, an Installable File System (DOS 4.0???), 
and/or physical.

My problem is that I'd like a way to detect whether or not a
drive is a RAM drive.  My RAM drive is created by PC-Kwik and is
listed as a physical drive.  Also, MS-Windows displays a hard drive
icon instead of a RAM drive icon.  I need some way to identify
it as a _RAM_ drive.  Any additional drive characteristics
would be desirable as well.

Thanks in advance,	
	--- Evan
-- 
Evan Mills                                                 HIREMEPLEASEHIREME
Illinois State Water Survey                                PLEASEHIREMEPLEASE
Champaign, IL  61820                                       HIREMEPLEASEHIREME
evan-mills@uiuc.edu                                        PLEASEHIREMEPLEASE
Technical Details
Message-ID: <1991Jun20.194806.847@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!emills

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!emills
From: emills@ux1.cso.uiuc.edu (Evan Mills)
Newsgroups: comp.os.msdos.programmer
Subject: Method to detect RAM drives?
Message-ID: <1991Jun20.194806.847@ux1.cso.uiuc.edu>
Date: 20 Jun 91 19:48:06 GMT
Organization: University of Illinois at Urbana
Lines: 21