www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/04/14:45:13

Xref: news2.mv.net comp.os.msdos.djgpp:5664
From: dmicolet AT u-bourgogne DOT fr (Dominique Micollet)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in stubify.c
Date: 4 Jul 1996 06:01:21 GMT
Organization: Universite de Bourgogne - Dijon - France
Lines: 38
Message-ID: <4rfmnh$dr4@tempo.univ-lyon1.fr>
References: <1 DOT 5 DOT 4 DOT 16 DOT 19960703185459 DOT 266fdb4e AT mailhost DOT cyberhighway DOT net>
NNTP-Posting-Host: satie.u-bourgogne.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

laurin keith davis (laurin AT cyberhighway DOT net) wrote:

: umm, could someone please, tell me what a ramdisk is. i have seen this many
: times, and yet, i can't find out what this means.

A ram disk is a part of the memory used as a hard disk drive, ie with fopen,
fwrite, ....

This implies the use of a dedicated driver.

Pro : very fast compared to an actual disk drive, as the ramdisk driver use
memory access

Cons : the data are stored in volatile memory : you may lost them if you
do not backup the files on an actual hard disk.

This was very useful  when there was not DJGPP as it was a way to temporary
store quickly data from programs which cannot store them in 640K.

Today, I think that using a ramdisk which DJGPP is not a good idea because
the consumed memory is lost for DJGPP : the program will swap more frequently.
Am I right on this last point ?

--
      Cordialement

************************************************
* Dominique MICOLLET                           *
* Laboratoire LIESIB                           *
* Universite de Bourgogne                      *
* 6 Boulevard GABRIEL                          *
* BP 138                                       *
* 21004 DIJON CEDEX                            *
* FRANCE                                       *
* Tel     : /33/80-39-59-27                    *
* Tfx     : /33/80-39-60-43 /33/80-39-59-99    *
* Email   : Dominique DOT Micollet AT u-bourgogne DOT fr  *
************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019