From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 14 08:17:12 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AD8637A; Thu, 14 Nov 2013 08:17:12 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB308258C; Thu, 14 Nov 2013 08:17:11 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id rAE8HAlX004730 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 14 Nov 2013 02:17:10 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.152]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.03.0158.001; Thu, 14 Nov 2013 02:17:09 -0600 From: "Teske, Devin" To: "" Subject: Re: Loader forth changes for customization Thread-Topic: Loader forth changes for customization Thread-Index: AQHO4EjnMi0GIoZQO0eCkJ5RnRP0Cw== Date: Thu, 14 Nov 2013 08:17:08 +0000 Message-ID: <18E6668A-3837-40D1-BCA0-9D68DCCD70AD@fisglobal.com> References: <5282E56F.4020307@freebsd.org> <52832003.8080406@freebsd.org> <09673101-DB54-4D25-9989-8C80D06E266B@fisglobal.com> <5283933E.30603@freebsd.org> <5283CBD1.9010606@freebsd.org> <86F0F59A-2DE0-42A3-9B8B-ADB1F3CA55A1@fisglobal.com> <20131114.080608.007.1@DOMY-PC> In-Reply-To: <20131114.080608.007.1@DOMY-PC> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="windows-1250" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.14, 0.0.0000 definitions=2013-11-13_06:2013-11-13,2013-11-13,1970-01-01 signatures=0 Cc: FreeBSD Hackers , Devin Teske , "Teske, Devin" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Devin Teske List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 08:17:12 -0000 On Nov 14, 2013, at 12:06 AM, wrote: > Um, >=20 > Little of thread, but could you rewrite loader in just 1 task? > That is, once it has been pulled by STAGE 2 boot, ALL loader's path shoul= d be RELATIVE to loader itself, instead currently using full path approach = (/boot/...) >=20 > I.e; > Line: (from: '/sys/boot/common/interp.c') > include("/boot/boot.conf"); > into: > include("boot.conf"); > and so on ... >=20 > Thanks. >=20 Is that true for the Forth layer? I didn't think there was a relative path. Just tested on 9.2-R loader(8): Contents of /boot/loader.rc.local: echo "Hello, World!" At loader(8) prompt: OK include /boot/loader.rc.local Hello, World! OK include loader.rc.local can't open 'loader.rc.local': no such file or directory --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.