tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Ram Disk
@ 1995-03-23 10:08 Patrice LEGOUX
  0 siblings, 0 replies; 2+ messages in thread
From: Patrice LEGOUX @ 1995-03-23 10:08 UTC (permalink / raw)
  To: tru64-unix-managers

Hi Alpha-Digital_Unix-Managers

Do you known how to define (is it possible ?) a disk partition in RAM.

If it's possible, is it using only standard commands (no free or shareware) ?

Patrice.

/############################################################################\
# Patrice LEGOUX                                                             #
#------------------------------------+---------------------------------------#
# Gsi Telematique                    | Decnet : GSUV09::LEGOUX               #
# 1 Rue Salomon de Rothschild        +---------------------------------------#
# 92150 SURESNES                     | Tel    : (33.1) 4625.5054             #
# France                             | Fax    : (33.1) 47.72.04.99           #
#                                    +---------------------------------------#
# E-Mail : Patrice.Legoux@gsi.fr                                             #
# X400   : C=FR; ADMD=ATLAS; PRMD=GSI; O=GSI; S=LEGOUX; G=PATRICE            #
# Memo   : LEGOUX                                                            #
\############################################################################/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ram Disk
@ 1995-03-23 15:06 Dr. Tom Blinn, 603-881-0646
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Tom Blinn, 603-881-0646 @ 1995-03-23 15:06 UTC (permalink / raw)
  To: tru64-unix-managers


> Do you known how to define (is it possible ?) a disk partition in RAM.
> 
> If it's possible, is it using only standard commands (no free or shareware) ?

Look at the mfs reference page.

There is an undocumented upper limit on the size of the mfs file system you
can define in your /etc/fstab using the technique in the reference page; the
limit seems (empirically) to be about 64MB.  If you want to set up an mfs to
always be created at system startup, then in your /etc/fstab put a line like
this:

/dev/rz0b	/tmp			mfs rw 1 2

instead of a line like this:

-s262144	/tmp                    mfs rw 1 2

where /dev/rz0b is a partition that is the right size.  On my system, I've
got four swap partitions (partition b on rz0, rz1, rz2, rz3) and I use lazy
(deferred) swap allocation, so what I'm doing is setting an mfs on /tmp to
use about 25% of the swap space (if it needs it).  This works fine for me.

This is a standard, documented, supported part of Digital UNIX.

Tom
 
 Dr. Thomas P. Blinn, UNIX Software Group, Digital Equipment Corporation
  110 Spit Brook Road, MS ZKO3-2/U20   Nashua, New Hampshire 03062-2698
   Technology Partnership Engineering           Phone:  (603) 881-0646
    Internet: tpb@zk3.dec.com           Digital's Easynet: alpha::tpb

  Worry kills more people than work because more people worry than work.

     My favorite palindrome is: Satan, oscillate my metallic sonatas.
                                         -- Phil Agre, pagre@ucsd.edu

  Opinions expressed herein are my own, and do not necessarily represent
  those of my employer or anyone else, living or dead, real or imagined.
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-03-23 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-23 15:06 Ram Disk Dr. Tom Blinn, 603-881-0646
  -- strict thread matches above, loose matches on Subject: below --
1995-03-23 10:08 Patrice LEGOUX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox