*BSD News Article 6642


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!caen!uakari.primate.wisc.edu!ames!haven.umd.edu!decuac!pa.dec.com!ninja!ulka.zso.dec.com!alan
From: alan@ulka.zso.dec.com (F. Alan Jones)
Subject: Re: Adding Swapspace ??
Message-ID: <1992Oct16.162729.3701@ninja.zso.dec.com>
Lines: 16
Sender: jones@ulka.zso.dec.com (F. Alan Jones)
Nntp-Posting-Host: ulka.zso.dec.com
Reply-To: alan@ulka.zso.dec.com (F. Alan Jones)
Organization: Digital Equipment Corporation
References:  <Bw7H4L.LLB@cosy.sbg.ac.at>
Date: Fri, 16 Oct 1992 16:27:29 GMT


>Is there a way to add that much swap-space without making a new filesystem
>i.e. just recompile the kernel ?

I believe the answer is no.  There may be a way to figure out how much
swap space you have configured.  Look for the file swapvmunix.c in your
kernel object files directory.  That will tell you which device swap
is configured to run on.  Then do something like chpt -q on ULTRIX.  I
think I have tried this command and had it not work.   In any case try
to read what the current partition table is and see how much space is
allocated to the device on which your swap is configured.  If it is
smaller than you want, and the rest of the disk is taken up with the
root and/or /usr filesystem,  I'm afraid you will have to rebuild from
scratch.

Alan