From owner-freebsd-hackers Sat Aug 8 15:12:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00648 for freebsd-hackers-outgoing; Sat, 8 Aug 1998 15:12:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles250.castles.com [208.214.165.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00641 for ; Sat, 8 Aug 1998 15:12:49 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id PAA02183; Sat, 8 Aug 1998 15:11:31 -0700 (PDT) Message-Id: <199808082211.PAA02183@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: zhihuizhang cc: hackers Subject: Re: Questions about MFS_ROOT and MFS_AUTOLOAD In-reply-to: Your message of "Sat, 08 Aug 1998 16:50:33 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 08 Aug 1998 15:11:31 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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