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!Germany.EU.net!ifado!wb
From: wb@arb-phys.uni-dortmund.de ()
Subject: How to add swap partitions
Message-ID: <1993May11.112927.4765@arb-phys.uni-dortmund.de>
Sender: wb@arb-phys.uni-dortmund.de (Wilhelm B. Kloke)
Organization: Institut f. Arbeitsphysiologie a.d. Uni Dortmund
Date: Tue, 11 May 93 11:29:27 GMT
Lines: 25
Hi,
on a 386bsd-0.1.2.3 system, booted from sd0a, swap on sd0b, I tried to add
a swap partition sd0e. I put the line
config "386bsd" root on sd0 swap on sd0 and sd0e
into the config file. The generated swap386bsd.c looks o.k.:
#include "sys/param.h"
#include "sys/conf.h"
dev_t rootdev = makedev(4, 0);
dev_t dumpdev = makedev(4, 1);
struct swdevt swdevt[] = {
{ makedev(4, 1), 0, 0 }, /* sd0b */
{ makedev(4, 4), 0, 0 }, /* sd0e */
{ 0, 0, 0 }
};
But the swapon command refuses to use sd0e by
swapon: /dev/sd0e: Device not configured
What is wrong?
--
Dipl.-Math. Wilhelm Bernhard Kloke,
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-4600 Dortmund 1, Tel. 0231-1084-257