Subject: Re: tmp in mfs and swap
To: Charles M. Hannum <mycroft@NetBSD.ORG>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 02/07/1996 10:59:55
Hold on a second, folks.

I thought that the whole point of a ram disk was that it allocated
real memory and an MFS allocated virtual memory, thus making the ram
disk suitable for things like installs and MFS suitable for every day
use. Am I crazy here?

Perry


"Charles M. Hannum" writes:
>    MFS is simply a filesystem, which is convenient for setting up a /tmp, or 
>    something.  To get the same on a ramdisk, you'd have to newfs the 
>    ramdisk, which is a hassle.
> 
> True, but there's no particular reason that mount_mfs can't be changed
> to:
> 
> 1) Make a ramdisk image.
> 2) Make a file system on it (preferrably by actually calling out to
> newfs(8)).
> 3) Mount the ramdisk file system.
> 
> This would make somewhat more sense than duplicating the functionality.