Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Aug 1998 15:11:31 -0700
From:      Mike Smith <mike@smith.net.au>
To:        zhihuizhang <bf20761@binghamton.edu>
Cc:        hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Questions about MFS_ROOT and MFS_AUTOLOAD 
Message-ID:  <199808082211.PAA02183@antipodes.cdrom.com>
In-Reply-To: Your message of "Sat, 08 Aug 1998 16:50:33 EDT." <Pine.SOL.L3.93.980808163645.5265A-100000@bingsun2> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi, I have two questions about MFS:
> 
> (1) Does option MFS_ROOT mean that the memory file system will be the root
> of the entire file system hierarchy (all other disk-based file systems, if
> any, hang off the memory-based file system)? 

It means that the kernel-internal MFS will be mounted as /.  If your 
startup code in that filesystem mounts others, then they will be hung 
off the MFS, yes.

> (2) How can the MFS image be made separately from the other part of the
> kernel?  This is required by MFS_AUTOLOAD.

Use 'dd' to create a file of the appropriate size, then 'vnconfig' to 
attach it to a 'vn' device, then newfs it and install stuff as desired. 
Have a look at the way that the src/release makefile does it as it 
builds the MFS for the install kernel.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808082211.PAA02183>