*BSD News Article 15548


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!usenet.coe.montana.edu!nate
From: nate@cs.montana.edu (Nate Williams)
Subject: Re: patch 0.2.3 BUGS ?
Message-ID: <1993May3.214516.9766@coe.montana.edu>
Sender: usenet@coe.montana.edu (USENET News System)
Organization: CS
References: <1s3841INNjg6@hrd769.brooks.af.mil> <1993May3.143133.13426@sifon.cc.mcgill.ca> <1993May3.172755.4216@coe.montana.edu> <1993May3.203858.26035@sifon.cc.mcgill.ca>
Date: Mon, 3 May 1993 21:45:16 GMT
Lines: 46

In article <1993May3.203858.26035@sifon.cc.mcgill.ca> storm@cs.mcgill.ca (Marc Wandschneider) writes:
>In article <1993May3.172755.4216@coe.montana.edu> nate@cs.montana.edu (Nate Williams) writes:
>
>>Think about this.  The entire space is currently used.  In 0.1, there is
>>NO WAY of shrinking a partition w/out losing valuable information (at
>>least not an easy way).  
>
>
>	So then the only way to get more swap space is to create a
>new swap space on a second disk...?  Does the 5MB swap partition on the
>first disk still get used, or does it end up being wasted...?

I'm swapping to both of my disks.  The first disk is enabled automatically
(/dev/sd0b) and the second one is added via my fstab file.  All that was
required was to add the additional swap disk to the kernel file in the
config file
....
config          "386bsd"        root on sd0 swap on sd0 and sd1
...

I don't even have my first disk in my /etc/fstab file (though I suppose
I could).

Here is that secondary entry..
/dev/sd1b                       none            swap    sw

It is enabled by swapon in /etc/rc.

Running swapinfo shows.
root:/root # swapinfo
Device       512-blks       Used  Available   Capacity
/dev/sd0b       33696          0      33696       0%
/dev/sd1b       67488          0      67488       0%
Total          101184          0     101184       0%
root:/root #

Both are being used.


Nate

-- 
osynw@terra.oscs.montana.edu |  Still trying to find a good reason for
nate@cs.montana.edu          |  these 'computer' things.  Personally,
work #: (406) 994-4836       |  I don't think they'll catch on - 
home #: (406) 586-0579       |                            Don Hammerstrom