tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Dr. Tom Blinn, 603-881-0646" <tpb () zk3 ! dec ! com>
To: tru64-unix-managers
Subject: Re: Ram Disk
Date: Thu, 23 Mar 1995 15:06:19 +0000	[thread overview]
Message-ID: <96075318306649.tru64-unix-managers.marc@archive.invalid> (raw)


> 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.
 

             reply	other threads:[~1995-03-23 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-23 15:06 Dr. Tom Blinn, 603-881-0646 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-03-23 10:08 Ram Disk Patrice LEGOUX
read-only archive

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