Subject: Re: tmpfs as root file system
To: None <>
From: George Georgalis <>
List: current-users
Date: 02/21/2006 18:47:44
On Tue, Feb 21, 2006 at 10:27:48PM +0100, 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_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

I don't know your objective, but this may be of interest
 How to create bootable NetBSD image on Compact Flash?

// George

George Georgalis, systems architect, administrator <IXOYE>< cell:646-331-2027