Better way to circumvent the boot problem on older versions.

Submitted by:	Larry Baird <lab@gta.com>
This commit is contained in:
Poul-Henning Kamp 1999-08-06 17:06:49 +00:00
parent a18e16060e
commit f767942c7c
2 changed files with 5 additions and 20 deletions

View File

@ -1,6 +1,6 @@
README and FAQ for the fla driver.
$Id: README,v 1.3 1999/08/01 14:30:46 phk Exp $
$Id: README,v 1.1 1999/08/06 15:59:07 phk Exp $
[0] COPYRIGHT & LICENSE
@ -51,9 +51,10 @@ $Id: README,v 1.3 1999/08/01 14:30:46 phk Exp $
the
options ROOTDEVNAME=\"fla0\"
In older versions you may need the patch in file patch.01.
Be aware that with this patch the kernel will probably not
boot on normal disks.
In older versions, specifying the boot device in the kernel
config file this way is the easiest way to do it:
config kernel root on major 28 minor 65538
[7] How to disklabel a fla device ?

View File

@ -1,16 +0,0 @@
Index: autoconf.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/autoconf.c,v
retrieving revision 1.111
diff -u -r1.111 autoconf.c
--- autoconf.c 1999/01/19 00:10:59 1.111
+++ autoconf.c 1999/08/01 13:56:59
@@ -453,6 +453,7 @@
if (boothowto & RB_DFLTROOT || (bootdev & B_MAGICMASK) != B_DEVMAGIC)
return;
majdev = B_TYPE(bootdev);
+ majdev = 28;
if (majdev >= nblkdev || bdevsw[majdev] == NULL)
return;
unit = B_UNIT(bootdev);