From owner-cvs-all Tue May 25 4:27:14 1999 Delivered-To: cvs-all@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 339FF14DA1; Tue, 25 May 1999 04:27:08 -0700 (PDT) (envelope-from brian@keep.lan.Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id MAA01144; Tue, 25 May 1999 12:27:07 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id MAA01355; Tue, 25 May 1999 12:26:33 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199905251126.MAA01355@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Bruce Evans Cc: brian@Awfulhak.org, brian@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/boot/biosboot table.c In-reply-to: Your message of "Tue, 25 May 1999 20:50:39 +1000." <199905251050.UAA18301@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 25 May 1999 12:26:33 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > >I've backed out the change. > > > >Would adding a ``case 5: maj =3D 30;'' in sys.c and tacking "ad" on to= = > >the end of the list in table.c be better ? > = > That would cause bad accesses to devs[30]. devs[] could be enlarged > at a cost of some space. > = > My version passes the typed-in device name to the kernel and the kernel= > ignores the boot blocks' guess of the major if it can make sense of > the name. I might finish this if anyone still uses the old boot blocks= =2E > It doesn't work right for "ad", because ad_cdevsw lies about the driver= > name -- it claims to be "wd" for compatibility, so lookups of "ad" fail= =2E > This also breaks the lookups for -r and -a -- you have to misspecify > "ad" as "wd" and not configure the real "wd" so that there is no confli= ct. It looks like this stuff should wait 'till S=F8ren's happy with `ad' = and `wd' goes away. As it happens, I think my real problem (when I removed ``root on'' = from my kernel config, I couldn't boot any more) was just the lack of = a ``disklabel -B''. I did the change to table.c and wrongly thought = that it had fixed the problem ;-( > Bruce Cheers. -- = Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message