<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/boot/forth/support.4th, branch release/5.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2002-05-24T02:28:58Z</updated>
<entry>
<title>Add support for reading an additional loader configuration file. By default,</title>
<updated>2002-05-24T02:28:58Z</updated>
<author>
<name>Gordon Tetlow</name>
<email>gordon@FreeBSD.org</email>
</author>
<published>2002-05-24T02:28:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=666df9ddf35c5db4ee084fe76225336b9df712fa'/>
<id>urn:sha1:666df9ddf35c5db4ee084fe76225336b9df712fa</id>
<content type='text'>
this is called /boot/nextboot.conf. This file is required to have it's first
line be nextboot_enable="YES" for it to be read. Also, this file is
rewritten by the loader to nextboot_enable="NO"&lt;space&gt; after it is read.
This makes it so the file is read exactly once. Finally, the nextboot.conf
is removed shortly after the filesystems are mounted r/w.

Caution should be taken as you can shoot yourself in the foot. This is only
the loader piece. There will be a tool called nextboot(8) that will manage
the nextboot.conf file for you. It is coming shortly.

Reviewed by:	dcs
Approved by:	jake (mentor)
</content>
</entry>
<entry>
<title>- Add 'fwrite' and 'fseek' words for writing to and seeking on files.</title>
<updated>2001-12-11T00:49:34Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2001-12-11T00:49:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0889b9be414989d292712d60a1e2fcd837eaf504'/>
<id>urn:sha1:0889b9be414989d292712d60a1e2fcd837eaf504</id>
<content type='text'>
- Change the 'fopen' keyword to accept a mode parameter.  Note that this
  will break existing 4th scripts that use fopen.  Thus, the loader
  version has been bumped and loader.4th has been changed to check for a
  sufficient version on i386 and alpha.  Be sure that you either do a full
  world build or install or full build and install of sys/boot after this
  since loader.old won't work with the new 4th files and vice versa.

PR:		kern/32389
Submitted by:	Jonathan Mini &lt;mini@haikugeek.com&gt;
Sponsored by:	ClickArray, Inc.
</content>
</entry>
<entry>
<title>Get rid of garbage left on the stack.</title>
<updated>2000-09-25T11:36:55Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-25T11:36:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=530df9baad1ae23cf5fbd52690b37e20ac41d066'/>
<id>urn:sha1:530df9baad1ae23cf5fbd52690b37e20ac41d066</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use _ instead or - where proper, according to the style I have been</title>
<updated>2000-09-16T21:04:49Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-16T21:04:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=818c39998ed7789491c4ab6be234818e07710dd8'/>
<id>urn:sha1:818c39998ed7789491c4ab6be234818e07710dd8</id>
<content type='text'>
using.

Overload "?" so it will also show loader.4th commands.
</content>
</entry>
<entry>
<title>Solve a name clash.</title>
<updated>2000-09-16T20:20:44Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-16T20:20:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=df3c7d3993ca92f32920e520a2d69ed75aa118b6'/>
<id>urn:sha1:df3c7d3993ca92f32920e520a2d69ed75aa118b6</id>
<content type='text'>
Add something to help debugging.
</content>
</entry>
<entry>
<title>Both boot and boot-conf were using a different algorithm from the one</title>
<updated>2000-09-16T19:49:52Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-16T19:49:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7b9e034490036397e202a54eee12751d02fd4c0c'/>
<id>urn:sha1:7b9e034490036397e202a54eee12751d02fd4c0c</id>
<content type='text'>
used by start to find the kernel. Fix this.

Also, boot would proceed immediately in the absence of a path as
argument. Check first if a kernel has already been loaded, and, if
not, fall back to load kernel&amp;modules behavior.

Some further factorizing. I deem this code to be mostly readable by
now! :-)

Many thanks to: Makoto MATSUSHITA &lt;matusita@jp.FreeBSD.org&gt;
</content>
</entry>
<entry>
<title>Factorize, reorganize, and move code around.</title>
<updated>2000-09-15T08:05:52Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-15T08:05:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1cb190742fdeda3d42becc5298932a73b1ba326a'/>
<id>urn:sha1:1cb190742fdeda3d42becc5298932a73b1ba326a</id>
<content type='text'>
The boot-conf and boot code had various bugs, and some of it was big,
ugly, unwieldy, and, sometimes, plain incorrect. I'm just about
completely replaced these ugly parts with something much more manageable.

Minor changes were made to the well-factorized parts of it, to accomodate
the new code.

Of note:

	* make sure boot-conf has the exact same behavior wrt boot order
as start.

	* Correct both boot and boot-conf so they'll work correctly when
compiled in, as they both had some bugs, minor and major.

	* Remove all the crud from loader.4th back into support.4th, for
the first time since boot-conf was first improved. Hurray!

I'm fairly satisfied with the code at this time. Time to see about those
man pages...
</content>
</entry>
<entry>
<title>Upon reflection, I decided that bootfile must have priority over kernel</title>
<updated>2000-09-09T18:20:00Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-09T18:20:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=23aecb010985809ecab5baad0ca54ce524adc125'/>
<id>urn:sha1:23aecb010985809ecab5baad0ca54ce524adc125</id>
<content type='text'>
as the kernel name. The one very unfortunate consequence is that kernel
as an absolute path loses the priority. It will only be tried after
/boot/${kernel}/${bootfile}. I'll see what can be done about it later.
</content>
</entry>
<entry>
<title>First tackle at trying to handle the New Deal on kernels.</title>
<updated>2000-09-09T04:52:34Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-09T04:52:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=88a7f9eb70c62c0f1dad5c5f03b026b296fcda3c'/>
<id>urn:sha1:88a7f9eb70c62c0f1dad5c5f03b026b296fcda3c</id>
<content type='text'>
Load the first of the following kernels to be found:

${kernel} if ${kernel} is an absolute path
/boot/${kernel}/${kernel}
/boot/${kernel}/${bootfile}
${kernel}/${kernel}
${kernel}/${bootfile}
${kernel}
${bootfile}

The last instance of ${kernel} and ${bootfile} will be treated as a
list of semicolon separated file names, and each will be tried in turn,
from left to right.

Also, for each filename loader(8) will try filename, filename.ko,
filename.gz, filename.ko.gz, in that order, but that's not related
to this code.

This resulted in a major reorganization of the code, and much of what
was accumulating on loader.4th was rightly transfered to support.4th.

The semantics of boot-conf and boot also changed. Both will try to load
a kernel the same as above.

After a kernel was loaded, the variable module_path may get changed. Such
change will happen if the kernel was found with a directory prefix. In
that case, the module path will be set to ${directory};${module_path}.

Next, the modules are loaded as usual.

This is intended so kernel="xyzzy" in /boot/loader.conf will load
/boot/xyzzy/kernel.ko, load system modules from /boot/xyzzy/, and
load third party modules from /boot/modules or /modules. If that doesn't
work, it's a bug.

Also, fix a breakage of "boot" which was recently introduced. Boot without
any arguments would fail. No longer. Also, boot will only unload/reload
if the first argument is a path. If no argument exists or the first
argument is a flag, boot will use whatever is already loaded. I hope this
is POLA. That behavior is markedly different from that of boot-conf, which
will always unload/reload.

The semantics introduced here are experimental. Even if the code works,
we might decide this is not the prefered behavior. If you feel so, send
your feedback. (Yeah, this belongs in a HEADS UP or something, but I've
been working for the past 16 hours on this stuff, so gimme a break.)
</content>
</entry>
<entry>
<title>Fix an error message which was using the wrong variable to get the</title>
<updated>2000-09-08T16:58:31Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-08T16:58:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d39b220c77f98bf9c9f3022f3f07b4aaf4fab2ba'/>
<id>urn:sha1:d39b220c77f98bf9c9f3022f3f07b4aaf4fab2ba</id>
<content type='text'>
kernel name from.
</content>
</entry>
</feed>
