From owner-freebsd-current Sun Nov 1 12:00:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26651 for freebsd-current-outgoing; Sun, 1 Nov 1998 12:00:21 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles355.castles.com [208.214.167.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26641 for ; Sun, 1 Nov 1998 12:00:18 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id LAA05344; Sun, 1 Nov 1998 11:59:50 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811011959.LAA05344@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Louis A. Mamakos" cc: freebsd-current@FreeBSD.ORG Subject: Re: boot flags In-reply-to: Your message of "Sun, 01 Nov 1998 10:47:14 EST." <199811011547.KAA15557@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 01 Nov 1998 11:59:50 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > My boot.conf looks like: > > > > load kernel > > autoboot 10 > > > > so far (I'll add modules next), but what's the syntax in that file to > > add boot flags? I specifically (right now) want to add -v. If this is > > defined somewhere, a pointer there would be fine. > > And while the question is being asked.. is there a way with the new > 3 stage boot loader to pass in a USERCONFIG configuration file? I used to > do this to configure some PNP peripherals. I'm guessing that this > function will probably now happen in /boot/loader, but that code doesn't > seem to be functional for this purpose yet. I'd be happy to hear otherwise. There isn't at this point in time. Unless you're constantly cycling kernels, the PnP information is saved into the booted kernel by dset, so you only need to set it once. Now that the kernel can receive arbitrary information passed in from the loader, you'll do something like this: load -t userconfig_script /boot/userconfi.script and userconfig will just run down the list of userconfig_script objects, executing commands out of them. I'll aim to get this done today. -- \\ 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. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message