From 73ade464e2b8fed1e18ec6d9c4e6bb24aaad5695 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Wed, 26 Oct 1994 13:46:34 +0000 Subject: [PATCH] Remove the code for asking for a filesystem floppy. We don't need it anymore, and neither David nor I can think of a reasonable mechanism to stick in its place. --- sys/i386/boot/biosboot/boot.c | 25 ++----------------------- sys/i386/boot/boot.c | 25 ++----------------------- 2 files changed, 4 insertions(+), 46 deletions(-) diff --git a/sys/i386/boot/biosboot/boot.c b/sys/i386/boot/biosboot/boot.c index c3bef8ba866..3f2e0ea654d 100644 --- a/sys/i386/boot/biosboot/boot.c +++ b/sys/i386/boot/biosboot/boot.c @@ -24,7 +24,7 @@ * the rights to redistribute these changes. * * from: Mach, [92/04/03 16:51:14 rvb] - * $Id: boot.c,v 1.16 1994/10/06 09:41:03 rgrimes Exp $ + * $Id: boot.c,v 1.17 1994/10/26 13:18:49 jkh Exp $ */ @@ -218,27 +218,6 @@ loadprog(howto) total = ((addr+sizeof(int)-1))&~(sizeof(int)-1); printf("total=0x%x ", total); - - /* - * If we are booting from floppy prompt for a filesystem floppy - * before we call the kernel - */ - switch(maj) - { - case 2: - 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(); - if (i=='0' || i=='A' || i=='a') - unit = 0; - if (i=='1' || i=='B' || i=='b') - unit = 1; - printf("\n"); - break; - case 4: - break; - } bootdev = (MAKEBOOTDEV(maj, 0, 0, unit, part)) ; /****************************************************************/ /* copy that first page and overwrite any BIOS variables */ @@ -259,7 +238,7 @@ getbootdev(howto) int *howto; { char c, *ptr = namebuf; - printf("Boot: [[[%s(%d,%c)]%s][-s][-a][-d]] :- " + printf("Boot: [[[%s(%d,%c)]%s][-s][-a][-c][-d][-f]] :- " , devs[maj] , unit , 'a'+part diff --git a/sys/i386/boot/boot.c b/sys/i386/boot/boot.c index c3bef8ba866..3f2e0ea654d 100644 --- a/sys/i386/boot/boot.c +++ b/sys/i386/boot/boot.c @@ -24,7 +24,7 @@ * the rights to redistribute these changes. * * from: Mach, [92/04/03 16:51:14 rvb] - * $Id: boot.c,v 1.16 1994/10/06 09:41:03 rgrimes Exp $ + * $Id: boot.c,v 1.17 1994/10/26 13:18:49 jkh Exp $ */ @@ -218,27 +218,6 @@ loadprog(howto) total = ((addr+sizeof(int)-1))&~(sizeof(int)-1); printf("total=0x%x ", total); - - /* - * If we are booting from floppy prompt for a filesystem floppy - * before we call the kernel - */ - switch(maj) - { - case 2: - 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(); - if (i=='0' || i=='A' || i=='a') - unit = 0; - if (i=='1' || i=='B' || i=='b') - unit = 1; - printf("\n"); - break; - case 4: - break; - } bootdev = (MAKEBOOTDEV(maj, 0, 0, unit, part)) ; /****************************************************************/ /* copy that first page and overwrite any BIOS variables */ @@ -259,7 +238,7 @@ getbootdev(howto) int *howto; { char c, *ptr = namebuf; - printf("Boot: [[[%s(%d,%c)]%s][-s][-a][-d]] :- " + printf("Boot: [[[%s(%d,%c)]%s][-s][-a][-c][-d][-f]] :- " , devs[maj] , unit , 'a'+part