From owner-freebsd-questions Thu Jul 11 11:30:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 282D937B400 for ; Thu, 11 Jul 2002 11:30:08 -0700 (PDT) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 936C943E09 for ; Thu, 11 Jul 2002 11:30:08 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.11.6/8.11.6) with ESMTP id g6BIODw81428; Thu, 11 Jul 2002 11:24:13 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Date: Thu, 11 Jul 2002 11:24:12 -0700 (PDT) From: Annelise Anderson To: "Roger 'Rocky' Vetterberg" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using Memory Disks to Build World In-Reply-To: <3D2D6A6D.4050500@rambo.simx.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 11 Jul 2002, Roger 'Rocky' Vetterberg wrote: > Annelise Anderson wrote: > > I would like to do a make world with /usr/obj and /usr/src > > on memory disks (this system has 2GB RAM, so I figure 512MB > > for each ought to be enough). This is a 4.6-stable system. > > > > I created some md devices in /dev, but can't make > > mount_mfs work with something like > > mount_mfs -s 1048576 /dev/md0 /usr/src > > or mount_mfs -s 1048576 /dev/md0s1 /usr/src > > > > Maybe I'm missing a step? These devices have not been > > disklabeled. > > > > Annelise > > > > I usually just use my swap as special device, like so: > mount_mfs -s 1048576 /dev/da0s1b /usr/obj > > AFAIK, you dont need to create any md devices in /dev to use > mount_mfs, but then again Im no expert on mfs. > Yes, but I don't want to use a swap partition--I wanted a memory disk in RAM, although perhaps this creates a RAM disk with swap as overflow; I'm not sure. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message