From owner-freebsd-hackers Thu Feb 5 15:34:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23061 for hackers-outgoing; Thu, 5 Feb 1998 15:34:10 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (lapdog.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22978 for ; Thu, 5 Feb 1998 15:33:46 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id WAA00426; Thu, 5 Feb 1998 22:14:10 +1030 (CST) Message-Id: <199802051144.WAA00426@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: ade@demon.net cc: Mike Smith , hackers@FreeBSD.ORG Subject: Re: boot floppy banner In-reply-to: Your message of "Mon, 02 Feb 1998 14:34:15 MDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Feb 1998 22:14:09 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" > Mike Smith writes: > > > >Hmm, if you want to save space, try removing the bad144 stuff. It > >wastes a great deal of space for almost zero functionality. > > Right. By removing the DO_BAD144 define I've now got the space to > implement the next attempt at the boot.banner stuff, also keeping > the "Can't find " printf's, though I've moved this to openrd() > itself to remove a little bit of code duplication. I'm not actually very impressed by them at all either. > If /boot.banner exists then that will be displayed and, if /boot.help > exists, the boot prompt is modified to tell the use that more information > can be found by typing 'help'. It occurred to me this morning that the *ideal* behaviour would be as follows: If boot.banner exists, display it, else if boot.help exists, display it. Don't have a 'help' command. Instead, if an unrecognised command is entered, and finding a kernel named thus fails, look for a file named boot. and display it instead. This lets you have more than one help screen, just for openers. It might even reduce the code footprint a little. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\