mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Changed the "Insert filesystem floppy" prompt to give the user a choice in
which drive he wants the root file system (A or B).
This commit is contained in:
parent
b5d3f86c3f
commit
950d93597c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=560
@ -29,6 +29,12 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: boot.c,v $
|
||||
* Revision 1.4 1993/10/08 20:19:23 rgrimes
|
||||
* Remove the ``loader overlaps bss, kernel must bzero'' printf since that
|
||||
* is so often reported as an error condition when it is not. We print the
|
||||
* size of things so for those who want to know if this happened they can
|
||||
* figure it out from the size information that is printed.
|
||||
*
|
||||
* Revision 1.3 1993/07/16 13:06:08 rgrimes
|
||||
* Changed header from 386BSD BOOT to FreeBSD BOOT.
|
||||
*
|
||||
@ -137,7 +143,7 @@ int drive;
|
||||
ouraddr,
|
||||
argv[7] = memsize(0),
|
||||
argv[8] = memsize(1),
|
||||
"$Revision: 1.3 $");
|
||||
"$Revision: 1.4 $");
|
||||
printf("use options hd(1,...... to boot sd0 when wd0 is also installed\n");
|
||||
gateA20();
|
||||
loadstart:
|
||||
@ -304,8 +310,19 @@ loadprog(howto)
|
||||
switch(maj)
|
||||
{
|
||||
case 2:
|
||||
printf("\n\nInsert file system floppy \n");
|
||||
getchar();
|
||||
printf("\n\nInsert file system floppy in drive A or B\n");
|
||||
printf("Press 'A', 'B' or any other key for the default ");
|
||||
printf("%c: ", unit+'A');
|
||||
i = getchar();
|
||||
switch (i) {
|
||||
case '0': case 'A': case 'a':
|
||||
unit = 0;
|
||||
break;
|
||||
case '1': case 'B': case 'b':
|
||||
unit = 1;
|
||||
break;
|
||||
}
|
||||
printf("\n");
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
|
@ -29,6 +29,12 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: boot.c,v $
|
||||
* Revision 1.4 1993/10/08 20:19:23 rgrimes
|
||||
* Remove the ``loader overlaps bss, kernel must bzero'' printf since that
|
||||
* is so often reported as an error condition when it is not. We print the
|
||||
* size of things so for those who want to know if this happened they can
|
||||
* figure it out from the size information that is printed.
|
||||
*
|
||||
* Revision 1.3 1993/07/16 13:06:08 rgrimes
|
||||
* Changed header from 386BSD BOOT to FreeBSD BOOT.
|
||||
*
|
||||
@ -137,7 +143,7 @@ int drive;
|
||||
ouraddr,
|
||||
argv[7] = memsize(0),
|
||||
argv[8] = memsize(1),
|
||||
"$Revision: 1.3 $");
|
||||
"$Revision: 1.4 $");
|
||||
printf("use options hd(1,...... to boot sd0 when wd0 is also installed\n");
|
||||
gateA20();
|
||||
loadstart:
|
||||
@ -304,8 +310,19 @@ loadprog(howto)
|
||||
switch(maj)
|
||||
{
|
||||
case 2:
|
||||
printf("\n\nInsert file system floppy \n");
|
||||
getchar();
|
||||
printf("\n\nInsert file system floppy in drive A or B\n");
|
||||
printf("Press 'A', 'B' or any other key for the default ");
|
||||
printf("%c: ", unit+'A');
|
||||
i = getchar();
|
||||
switch (i) {
|
||||
case '0': case 'A': case 'a':
|
||||
unit = 0;
|
||||
break;
|
||||
case '1': case 'B': case 'b':
|
||||
unit = 1;
|
||||
break;
|
||||
}
|
||||
printf("\n");
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user