*BSD News Article 22709


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!pipex!uunet!Germany.EU.net!thoth.mch.sni.de!snimucgw!athen!mhr
From: mhr@athen.mch.sni.de (Muharem Hrnjadovic)
Subject: Q: how to specify swap partition size?
Organization: SNI AG Muenchen, STO XS 
Date: Fri, 22 Oct 93 13:35:59 GMT
Message-ID: <1993Oct22.133559.11793@athen.mch.sni.de>
Lines: 29

Hello,

I acquired BSD/386 from BSDI recently and can't figure out how to set
the size of the swap partition. What I did until now:

  - configure my harddisk (disksetup -i sd0) partitions to 

     * partition 1: DOS

     * partition 2: BSDI
         + partition a  : 32MB  -- type 4.2
         + partition b  : 96MB  -- type 4.2
         + partition h  : 500MB -- type swap
         + partition d  : 32MB  -- type 4.2

When the system comes up, vmstat reports me that there are about 23MB
of virtual memory available. 
Since I have 32MB of main memory plugged into the machine it appears 
to me that the swap partition is ignored and the virtual memory that 
is reported as available is just the main memory that remains after I 
login on console (as root).

Comments? Suggestions? Solutions?

kind regards,


  -- Muharem Hrnjadovic