From owner-cvs-all Tue May 25 3:54: 3 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id B904C153AD; Tue, 25 May 1999 03:53:56 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id UAA18301; Tue, 25 May 1999 20:50:39 +1000 Date: Tue, 25 May 1999 20:50:39 +1000 From: Bruce Evans Message-Id: <199905251050.UAA18301@godzilla.zeta.org.au> To: bde@zeta.org.au, brian@Awfulhak.org Subject: Re: cvs commit: src/sys/i386/boot/biosboot table.c Cc: brian@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >I've backed out the change. > >Would adding a ``case 5: maj = 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. 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. 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 conflict. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message