Date: Tue, 25 May 1999 12:26:33 +0100 From: Brian Somers <brian@Awfulhak.org> To: Bruce Evans <bde@zeta.org.au> 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 Message-ID: <199905251126.MAA01355@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Tue, 25 May 1999 20:50:39 %2B1000." <199905251050.UAA18301@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> >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 <brian@Awfulhak.org> <brian@FreeBSD.org> <http://www.Awfulhak.org> <brian@OpenBSD.org> Don't _EVER_ lose your sense of humour ! <brian@uk.FreeBSD.org> 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?199905251126.MAA01355>