Subject: Re: tmpfs as root file system
To: Zafer Aydogan <firstname.lastname@example.org>
From: Chris Tribo <email@example.com>
Date: 02/21/2006 16:38:11
MFS != MD /* MFS and TMPFS is not MD */
You could however mount tmpfs file systems from the memory disk root
file system that you stuff inside the kernel image, or maybe roll
your own /etc/rc to populate a tmpfs file system. I've done that with
mfs file systems on a firewall box before I learned to effectively
On Feb 21, 2006, at 4:27 PM, Zafer Aydogan wrote:
> hello list,
> is it possible to use tmpfs as a root file system, the way like the
> INSTALL Kernel does it with MFS ?
> If, yes how should I enable it ?
> MFS uses this in the INSTALL Kernel:
> # Enable the hooks used for initializing the root memory-disk.
> options MEMORY_DISK_HOOKS
> options MEMORY_DISK_IS_ROOT # force root on memory disk
> options MEMORY_DISK_SERVER=0 # no userspace memory disk support
> options MEMORY_DISK_ROOT_SIZE=10000 # size of memory disk, in blocks
> Or, if that's not possible, can I use MFS and then dump to tmpfs ?
> # Kernel root file system and dump configuration.
> config netbsd root on ? type ?
> #config netbsd root on sd0a type ffs tmpfs
> #config netbsd root on ? type nfs
> Thanks, Zafer.