tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "jean.schuller" <Jean.Schuller () IReS ! in2p3 ! fr>
To: tru64-unix-managers
Subject: SUMMARY : filesystem to ram
Date: Fri, 24 Sep 1999 12:50:26 +0000	[thread overview]
Message-ID: <96079072816248.tru64-unix-managers.marc@archive.invalid> (raw)


=09Hi managers,

=09I got so fast a lot of answers. All pointed to use mfs .

=09Thanks a lot to :

Luchini Marco, David A. Massaro.

Thanks also to Fliguer Miguel who wrote about mfs :
The mfs command builds a memory file system (mfs), which is a UFS file
system in virtual memory, and mounts it on the specified mount-node.  When
the file system is unmounted, mfs exits and the contents of the file system
are lost.  If mfs is sent a signal while running, for example during system
shutdown, it attempts to unmount its corresponding file system.  The
parameters for mfs are almost the same as those for newfs.  For a memory fi=
le
system, the special-device file provides only a set of configuration
parameters, including the size of the virtual memory segment to allocate.  =
If
the special-device file is omitted, you must specify the segment size.
The special-device file is usually the primary swap area, because that is
where the file system is backed up when free memory gets low and the
memory supporting the file system has to be paged.

  You can enable /tmp as a memory file system by adding an entry in the
  /etc/fstab file. For example, the following line creates a 10 Megabyte
  memory file system, mounted on /tmp:

       -s20480         /tmp   mfs rw 1 0

  Note that the contents of a memory file system are lost whenever a
reboot or unmount is performed

=20
And finaly Robert Carsey says :
Look into the MFS file system -- man 8 mfs should give you a good feel...
heres a snippit:

You can enable /tmp as a memory file system by adding an entry in the
  /etc/fstab file. For example, the following line creates a 10 Megabyte
  memory file system, mounted on /tmp:

       -s20480         /tmp   mfs rw 1 0




=09Many thanks

=09JEAN

---------------------------------------------------------------------------=
--
jean.schuller@ires.in2p3.fr      _/  _/_/_/    _/_/_/  _/_/_/_/
                                _/  _/    -/  _/  _/  _/    =20
                               _/  _/_/_/-/  _/_/_/  _/_/_/_/
                              _/  _/   -/   _/            _/
                             _/  _/    _/  _/_/_/  _/_/_/_/ =20
local   call:    0388106630    Institut de Recherches Subatomiques
foreign call: (33)388106630    Bo=EEte Postale 28=20
local   fax :    0388106234    23, Rue du Loess
foreign fax : (33)388106234    F-67037 STRASBOURG CEDEX  - France
---------------------------------------------------------------------------=
--

                 reply	other threads:[~1999-09-24 12:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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