Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!math.fu-berlin.de!ifmsun8.ifm.uni-hamburg.de!lutzifer!abqhh!encap.Hanse.DE!not-for-mail From: jan@encap.Hanse.DE (Jan-Oliver Neumann) Newsgroups: comp.os.386bsd.questions Subject: Re: Swapinfo Date: 5 Aug 1993 18:59:15 +0200 Organization: Hanse Networking e.V. Hamburg, Germany. Lines: 33 Message-ID: <23re9h$8u@encap.Hanse.DE> References: <23nbdp$rs8@stimpy.css.itd.umich.edu> <1993Aug4.073408.27501@cnplss5.cnps.philips.nl> rooij@bashful.isp.cft.philips.nl (Guido van Rooij) writes: >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 >You should put a line like: >sd0b swap sw >in your fstab file, see man 5 fstab. The manpage says that the second field should be "none". Is this really necessary ? I've never seen the system complaining if you set up your fstab entry like this one above. But now back to Alex: You have to put your swap-partitions into your /etc/fstab. If you don't do so, the system will only use the swap-partition on your "root"-drive. Put this into your fstab: /dev/sd0b none swap sw /dev/wd0b none swap sw At system start, the command swapon -a (it's invoked by your /etc/rc-script) searches the fstab for available swap-partitions and attaches them. I remember some problems with the /dev/drum-device which interleaves the data to the swap-partitions, but I am not sure if this has been fixed. Jan-Oliver -- Jan-Oliver Neumann <jan@encap.Hanse.DE> Hanse Networking e.V. Hamburg, FRG. Mail to vorstand@Hanse.DE for information.