Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!vrdxhq!bisanabi From: bisanabi@vrdxhq.UUCP Newsgroups: comp.sys.ibm.pc Subject: Creating RAM Disks on the fly. Message-ID: <3347@vrdxhq.UUCP> Date: Mon, 6-Apr-87 17:08:48 EST Article-I.D.: vrdxhq.3347 Posted: Mon Apr 6 17:08:48 1987 Date-Received: Wed, 8-Apr-87 03:14:54 EST Organization: Verdix Corporation, Chantilly, VA Lines: 28 I am looking for a way to generate a RAM disk from within a program, and then release it prior to exiting the same program. Any information on the following would be appreciated : 1) How can the last drive assigned be found ? (If A: and B: are floppies, and C: and D: are the hard drive and an existing RAM disk, how do I find out that the next available drive is E: ??) 2) How can I use this info (#1 above) and allocate RAM to create a RAM disk (E: in this example) for some arbitrary amount of memory ? 3) How do I get rid of the RAM disk and return the RAM to the system when I am done using it ? 4) How do I get the amount of RAM memory available in the system ? I assume #4 can be found in a tech. ref. manual, but I figured I ask since I need information regarding #1 thru #3 anyway. Thanks. -- :-- Paul : :UUCP: ...!{decuac, rlgvax, seismo, verdix}!vrdxhq!bisanabi