Date: Thu, 14 Nov 2013 08:17:08 +0000 From: "Teske, Devin" <Devin.Teske@fisglobal.com> To: "<rank1seeker@gmail.com>" <rank1seeker@gmail.com> Cc: FreeBSD Hackers <hackers@freebsd.org>, Devin Teske <dteske@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com> Subject: Re: Loader forth changes for customization Message-ID: <18E6668A-3837-40D1-BCA0-9D68DCCD70AD@fisglobal.com> In-Reply-To: <20131114.080608.007.1@DOMY-PC> References: <5282E56F.4020307@freebsd.org> <52832003.8080406@freebsd.org> <09673101-DB54-4D25-9989-8C80D06E266B@fisglobal.com> <5283933E.30603@freebsd.org> <A0800C10-2455-477C-A2DF-FBE5A6FE6F87@mail.turbofuzz.com> <5283CBD1.9010606@freebsd.org> <86F0F59A-2DE0-42A3-9B8B-ADB1F3CA55A1@fisglobal.com> <20131114.080608.007.1@DOMY-PC>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 14, 2013, at 12:06 AM, <rank1seeker@gmail.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18E6668A-3837-40D1-BCA0-9D68DCCD70AD>