Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 11:24:12 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        "Roger 'Rocky' Vetterberg" <listsub@rambo.simx.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Using Memory Disks to Build World
Message-ID:  <Pine.BSF.4.10.10207111122290.81396-100000@andrsn.stanford.edu>
In-Reply-To: <3D2D6A6D.4050500@rambo.simx.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10207111122290.81396-100000>