Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 1998 06:43:21 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Mike Smith <mike@smith.net.au>
Cc:        zhihuizhang <bf20761@binghamton.edu>, hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Questions about MFS_ROOT and MFS_AUTOLOAD 
Message-ID:  <199808132243.GAA17404@spinner.netplex.com.au>
In-Reply-To: Your message of "Sat, 08 Aug 1998 15:11:31 MST." <199808082211.PAA02183@antipodes.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:
> > 
> > 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.

MFS_AUTOLOAD is a variation on the MFS_ROOT system.  It was meant as an 
option for loading a floppy into the mfs ramdisk after the kernel had 
started.  This is leftover from attempts to get it to install a 4MB 
system, at the expense of using two boot disks instead of one.

> -- 
> \\  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
> 

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting



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?199808132243.GAA17404>