freebsd-skq/sys/boot/forth
Daniel C. Sobral 80a1a63ef5 Enhance boot-conf.
Now boot-conf can also receive parameters to be passed to the kernel
being booted. The syntax is the same as in the boot command, so one
boots /kernel.OLD in single-user mode by typing:

boot-conf /kernel.OLD -s   instead of
boot-conf -s /kernel.OLD

The syntax still supports use of directory instead of file name, so

boot-conf kernel.OLD -s

may be used to boot /boot/kernel.OLD/kernel.ko in single-user mode.

Notice that if one passes a flag to boot-conf, it will override the
flags set in .conf files, but only for that invocation. If the user
aborts the countdown and tries again without passing any flags, the
flags set in .conf files will be used.

Some factorization was done in the process of enhancing boot-conf,
as it has been growing steadly as features are getting added, becoming
too big for a Forth word. It still could do with more factorization,
as a matter of fact.

Override the builtin "boot" with something based on boot-conf. It will
behave exactly like boot-conf, but booting directly instead of going
through autoboot.

Since we are now pairing kernel and module set in the same directory,
this change to boot makes sense.
2000-09-08 21:11:57 +00:00
..
loader.4th Enhance boot-conf. 2000-09-08 21:11:57 +00:00
loader.4th.8 Remove comments left since mdoc.template time or just useless comments 1999-10-30 15:38:20 +00:00
loader.conf The kernel is now known as `kernel.ko' and it and its matching modules 2000-09-05 22:37:46 +00:00
loader.conf.5 Belatedly add splash_pcx_load to the documented variables. Reword 1999-11-26 08:09:04 +00:00
loader.rc Activates password protection (if a password is defined). 1999-11-24 17:59:37 +00:00
pnp.4th Strictly speaking, this works. It enumarates the PnP devices, and 2000-09-08 17:13:24 +00:00
support.4th Fix an error message which was using the wrong variable to get the 2000-09-08 16:58:31 +00:00