From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13641 invoked from network); 15 Jun 1999 23:09:03 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Jun 1999 23:09:03 -0000 Received: from aet-usa.com (root@AET-USA.COM [209.101.87.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA00492 for ; Tue, 15 Jun 1999 18:17:31 -0400 Received: from aet-usa.com (ccurtis@eclipse.aet-usa.com [192.168.68.5]) by aet-usa.com (8.8.7/8.8.7) with ESMTP id SAA16101 for ; Tue, 15 Jun 1999 18:24:15 -0400 Sender: ccurtis@aet-usa.com Message-ID: <3766DFF9.D7817F10@aet-usa.com> Date: Tue, 15 Jun 1999 18:21:29 -0500 From: "Christopher W. Curtis" Organization: AET, Inc. X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i586) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: mfs (Memory File System) in linux? References: <199906152104.XAA06915@earth.uni-muenster.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Georg Steffers wrote: > To me this sounds like /dev/ram? which is a device for ramdisks. You can > make any filesystem that is supported by linux on it and mount it somewhere > > Georg > > > I've been exploring migration over to linux from Digital UNIX. Does linux > > have something analagous to Digital UNIX's mfs (Memory File System)? Our > > application makes use of this to avoid I/O and we need something similar. > > > > Chris Actually, I looked into this before some time ago, and the answer is no, if I read what you are doing correctly. SunOS (and presumably Solaris) have a similar filesystem called "tmpfs", which isn't really a filesystem, but is a virtual filesystem that lives solely in memory. The thing about it that's different from Linux's ramdisk, is that (under SunOS) it shares space with swap. Linux's ramdisk doesn't work this way. Typically /tmp is mounted with this filesystem type so it's cleared when the system reboots, and running out of /tmp space also could crash your machine depending on how well it handles running out of swap. Naturally, /tmp can also be swapped to disk (since it is swap), and can be resized with swapon and swapoff. There was a project to do this under Linux (called swapfs, I think) but it has since been abandoned. I know of no efforts to resurrect it. Christopher