Subject: tmpfs as root file system
To: None <>
From: Zafer Aydogan <>
List: current-users
Date: 02/21/2006 22:27:48
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 =09MEMORY_DISK_IS_ROOT=09# force root on memory disk
options =09MEMORY_DISK_SERVER=3D0=09# no userspace memory disk support
options =09MEMORY_DISK_ROOT_SIZE=3D10000=09# 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=09=09netbsd=09root on ? type ?
#config=09=09netbsd=09root on sd0a type ffs tmpfs
#config=09=09netbsd=09root on ? type nfs

Thanks, Zafer.