From owner-freebsd-hackers Thu Aug 13 15:44:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02755 for freebsd-hackers-outgoing; Thu, 13 Aug 1998 15:44:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02724 for ; Thu, 13 Aug 1998 15:44:18 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id GAA17404; Fri, 14 Aug 1998 06:43:21 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199808132243.GAA17404@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Smith cc: zhihuizhang , hackers Subject: Re: Questions about MFS_ROOT and MFS_AUTOLOAD In-reply-to: Your message of "Sat, 08 Aug 1998 15:11:31 MST." <199808082211.PAA02183@antipodes.cdrom.com> Date: Fri, 14 Aug 1998 06:43:21 +0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message