From owner-freebsd-current@FreeBSD.ORG Sun Jun 11 11:32:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3B0416A418 for ; Sun, 11 Jun 2006 11:32:30 +0000 (UTC) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (tarc.po.cs.msu.su [158.250.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAFF343D46 for ; Sun, 11 Jun 2006 11:32:29 +0000 (GMT) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (localhost [127.0.0.1]) by tarc.po.cs.msu.su (8.13.4/8.13.4) with ESMTP id k5BBYRRN026654 for ; Sun, 11 Jun 2006 15:34:27 +0400 (MSD) (envelope-from tarc@tarc.po.cs.msu.su) Received: (from tarc@localhost) by tarc.po.cs.msu.su (8.13.4/8.13.4/Submit) id k5BBYRHe026622 for freebsd-current@freebsd.org; Sun, 11 Jun 2006 15:34:27 +0400 (MSD) (envelope-from tarc) Resent-From: Tarc Resent-Date: Sun, 11 Jun 2006 15:34:27 +0400 Resent-Message-ID: <20060611113427.GA24170@tarc.po.cs.msu.su> Resent-To: freebsd-current Date: Sun, 11 Jun 2006 15:32:27 +0400 From: Tarc To: freebsd-currend@freebsd.org Message-ID: <20060611113227.GH48940@tarc.po.cs.msu.su> References: <20060609084656.GA43591@what-creek.com> <20060609114140.GC56421@tarc.po.cs.msu.su> <20060609194509.GA47309@what-creek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060609194509.GA47309@what-creek.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: Subject: Re: Loader forth X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2006 11:32:30 -0000 On Fri, Jun 09, 2006 at 07:45:09PM +0000, John Birrell wrote: > On Fri, Jun 09, 2006 at 03:41:40PM +0400, Tarc wrote: > > Yes, but you can use the load command for loading custom modules and/or kernel. > > for documentation, you can see to /sys/boot/common/help.common . There are described some commands. T-prefix and D-prefix are for format only, so you should find `# Tload' pattern. > > I don't see how this applies to code written in the Forth language. > > I understand how to write loader conf files and use the commands that > are documented in help.common. > > I want to add a menu item which will only load the modules if that > item is selected and then boot. Do you know how to do that? > > -- > John Birrell The load, boot and others are added to forth, because standalone forth doesn't contain needed features to be language for loader see loader(8) for details. -- Best regards, Arseny Nasokin