*BSD News Article 6724


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!mcsun!uknet!edcastle!aiai!richard
From: richard@aiai.ed.ac.uk (Richard Tobin)
Newsgroups: comp.unix.bsd
Subject: config question
Message-ID: <7745@skye.ed.ac.uk>
Date: 19 Oct 92 12:57:04 GMT
Sender: news@aiai.ed.ac.uk
Organization: HCRC, University of Edinburgh
Lines: 17

What is the correct thing to put in the config file for a two disk
system?  If the controller is wd0 and the disks are wd0 and wd1, config
gives a value of 3 for NWD.  If the disks are called dk0 and dk1, the
value of NWD is 1.  Surely 2 is the desired figure?  At present, I have
wdattach() look for NWD-1 disks, but this is a hack...

Slightly related question: at one point I had "swap on dk0" in the
config file; this is wrong, it should be wd0.  The consequence of this
was that the system ran with no swap space.  This is in fact a useful
feature - one may have enough RAM to not need any swap.  Is there
an "approved" way to configure this?

-- Richard
-- 
Richard Tobin,
Human Communication Research Centre,                       R.Tobin@ed.ac.uk
Edinburgh University.