Date: Tue, 25 May 1999 20:50:39 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, brian@Awfulhak.org Cc: brian@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/boot/biosboot table.c Message-ID: <199905251050.UAA18301@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905251050.UAA18301>