*BSD News Article 19155


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!uknet!mcsun!sun4nl!relay.philips.nl!cnplss5.cnps.philips.nl!bashful.isp.cft.philips.nl!rooij
From: rooij@bashful.isp.cft.philips.nl (Guido van Rooij)
Subject: Re: Swapinfo
Message-ID: <1993Aug4.073408.27501@cnplss5.cnps.philips.nl>
Sender: news@cnplss5.cnps.philips.nl (USENET News System)
Organization: Philips Communications & Processing Services, Eindhoven
References: <23nbdp$rs8@stimpy.css.itd.umich.edu>
Date: Wed, 4 Aug 1993 07:34:08 GMT
Lines: 30

altitude@css.itd.umich.edu (Alex Tang) writes:

>Hi.  I'm wondering why I can't get my second swap partition to function.  I've
>configured my kernel like so:
>config          "386bsd"        root on wd0 swap on sd0 and wd0


>but when I do a swapinfo, i get:

>Device       512-blks       Used  Available   Capacity
>/dev/sd0b       20160      10240       9920      51%
>/dev/wd0b       20144  *** not available for swapping ***

>Any ideas?

>ps.  wd0b, and sd0b are my swap partitions.  

You should put a line like:
sd0b swap sw
in your fstab file, see man 5 fstab.

After that, either reboot the system or run swapon -a as superuser.

>Thanx...alex... 
>--
>Alex Tang -- ALTITUDE@UMICH.EDU...USERW00Y@UMICHUM.BITNET
>             U of M, SNRE: Student and Computer Consultant II
>             ITD/CSS Consultant and...General Fun Loving Guy :)

-Guido