SUMM: RAMDrive on Digital UNIX 4.0b

From: Joao Rochate <jrochate_at_ualg.pt>
Date: Wed, 14 Oct 1998 15:06:19 +0100

Well, well... Shame on me!! :)
This was an easy one. At least there is now an entry on the archives with
this subject, to avoid future lame questions like mine...

>Anyway, what I needed is something like a FileSystem, but using RAM not
HardDisk.
>
>Is it possible? How?
>

Of course it is possible:

Using mfs - memory file system
Steps:
* man mfs
* fstab: -s65536 /mount_point mfs rw 1 0

You can use the entry on fstab to create a new filesystem based on system's
RAM.
The number -s is 512k-blocks

Syntax:
/usr/sbin/mfs [-F mount-flags] [newfs-options] [special-device] mount-node


Like all RAM Drives, when the power goes off, the files are completly lost.
Use an UPS or a script to copy the most important data files to solid disk...
Some people also remark that reserving large amounts of memory could
decrease system performance due to an excess use of swap.

As allways, everybody as nice and patient! This is the best list World-Wide...
Thanks to all, and mostly to (mail arrival order):

W Darlington <w.darlington_at_am.qub.ac.uk>
Andrew Gillies <A.Gillies_at_cns.ed.ac.uk>
MC.Vialatte_at_cust.univ-bpclermont.fr
Andrew Busch <a.busch_at_qut.edu.au>
Paul Henderson <henderson_at_unx.dec.com>
"simon.reavell" <simon.reavell_at_bbsrc.ac.uk>
Gerd Specht <Gerd.Specht_at_rie.bfav.de>
"Sean O'Connell" <sean_at_stat.Duke.EDU>
Ed Murphy <Ed.Murphy_at_ussurg.com>
Bill Antoniadis <sysadmin_at_horseracinginfo.com>
Mervyn Weis <Mervyn.Weis_at_digital.com>
Oisin McGuinness <oisin_at_sbcm.com>
George Guethlein <GGuethlein_at_GiantOfMaryland.com>
Gerhard Nolte <gnolte_at_gwdg.de>
Christopher Knorr <cknorr_at_hops.com>

And others whose mail didn't come yet...


                                Joao Rochate

-------------------------------------------------------
Joao Pedro Rochate | EMail: jrochate_at_ualg.pt
Servicos de Informatica | URL: w3.ualg.pt/~jrochate
Universidade do Algarve | Phone: +351 (0)89 800 961
8000 Gambelas - FARO | ISDN: +351 (0)89 860 125
P O R T U G A L (pt) | GSM: +351 (0)931 9506546
-=[ http://www.ualg.pt ]=- | Fax: +351 (0)89 860 129
-------------------------------------------------------
Eng. de Sistemas e Computacao - UCEH - Univ. do Algarve
Received on Wed Oct 14 1998 - 14:03:39 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT