*BSD News Article 2693


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!samsung!sdd.hp.com!hp-cv!ogicse!usenet.coe.montana.edu!caen!zaphod.mps.ohio-state.edu!uunet.ca!cognos!dealwisb
From: dealwisb@cognos.com (Brian de Alwis)
Newsgroups: comp.unix.bsd
Subject: Re: Do YOU think that this generates correct kernel ?
Keywords: kernel config
Message-ID: <1992Jul29.173825.6239@cognos.com>
Date: 29 Jul 92 17:38:25 GMT
References: <1992Jul28.151518.18102@lut.fi> <1992Jul28.221939.2479@cognos.com> <1992Jul29.091608.10321@lut.fi>
Organization: Cognos Incorporated, Ottawa CANADA
Lines: 27

In article <1992Jul29.091608.10321@lut.fi> ats@lut.fi (Ari Suutari) writes:
>dealwisb@cognos.com (Brian de Alwis) writes:
>>controller wd0 at isa?
>>disk       dk0 at wd0 drive 0
>>disk       dk1 at wd0 drive 1
>
>	I think that config works correctly, it just that naming of
>	devices should be different. How about doing it like this:
>
	[example using a different controller name deleted]
>
>	This would, of cource, require some changes. wd.c should be wdc.c
>	and files.i386 should be modified also. All references to NWD
>	should also be checked and modified to NWDC if required.

But config should be able to determine the number of attached devices
by the referenced controller - there are two disks (from the above)
attached at wd0 - hence NWD should be two, not one (as config would
do). And, using only one disk entry (commenting out the other), why
would config generate a swap-struct referencing makedev(1,1), instead
of makedev(0,1)?

+++BdA
-- 
+++BdA  Brian de Alwis. Brain on loan to Cognos Inc, Ottawa, Ontario.
	dealwisb@cognos.com, or bsdealwi@napier.{waterloo.edu,uwaterloo.ca}
	"Nine out of ten men who tried camels said they preferred women"