*BSD News Article 97677


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to eliminate swap space
Date: 15 Jun 1997 17:18:34 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <5o185a$876@uriah.heep.sax.de>
References: <33A1BAB4.263F6242@jcis.com>
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
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42851

"Robert J. Lee" <bobl@jcis.com> wrote:

> I am running a highly predictable application and I can get enough
> memory so that swap will never happen. And because I plan to move
> FreeBSD and application to Flash Memory Filesystem, I'd like to
> eliminate the swap space entirely. Can someone tell me how to this?

Don't configure any.  If neither your /etc/fstab mentions a paging
area, nor you ever call a swapon(8) yourself, no paging area will be
available to the system.  However, you are likely going to crash the
system if you're not careful.  FreeBSD is heavily trimmed towards
making use of the swap.

-- 
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. ;-)