From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075318306649.tru64-unix-managers.marc@archive.invalid> From: "Dr. Tom Blinn, 603-881-0646" Date: Thu, 23 Mar 1995 15:06:19 +0000 To: tru64-unix-managers Subject: Re: Ram Disk X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075318306649 > 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.