*BSD News Article 66155


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!newsfeed.internetmci.com!in1.uu.net!fu-berlin.de!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!News.HTWM.De!news.HRZ.HAB-Weimar.DE!news.uni-jena.de!news.uni-leipzig.de!news1.urz.tu-dresden.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to setup a RAM DISK?
Date: 14 Apr 1996 17:52:27 GMT
Organization: Private FreeBSD site, Dresden
Lines: 24
Message-ID: <4kre0r$7el@uriah.heep.sax.de>
References: <4kpi63$oot@ustsu10.ust.hk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

eg_lcx@uxmail.ust.hk (Water Dargon) writes:

>	I have setup FreeBSD 2.1.  But I want to known how to setup a RAM
>DISK?

RTFM mfs(8).

Basically:

	options	MFS

in your config file (it's there by default), and then

	mount_mfs -s 20000 /dev/sd0b /tmp

with: 20000 blocks (~ 10 MB), backed to the swap area /dev/sd0b,
mounted to /tmp.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)