Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
LOADER.4TH(8) FreeBSD System Manager's Manual LOADER.4TH(8)

loader.conf processing tools

The file that goes by the name of loader.4th is a set of commands designed to manipulate loader.conf(5) files. The default /boot/loader.rc includes loader.4th and uses one of its commands to automatically read and process the standard loader.conf(5) files. Other commands exists to help the user specify alternate configurations.

The commands of loader.4th by themselves are not enough for most uses. Please refer to the examples below for the most common situations, and to loader(8) for additional commands.

Before using any of the commands provided in loader.4th, it must be included through the command:

include loader.4th

This line is present in the default /boot/loader.rc file, so it is not needed (and should not be re-issued) in a normal setup.

The commands provided by it are:

kernelname [...]
directory [...]
-flag ...
Boot as specified by the loader.conf(5) files read.

Depending on the arguments passed, it can override boot flags and either the kernel name or the search path for kernel and modules.

kernelname [...]
directory [...]
-flag ...
Works like boot described above, but instead of booting immediately, uses autoboot, so it can be stopped.

Reads /boot/defaults/loader.conf, all other loader.conf(5) files specified in it, then loads the desired kernel and modules (if not already loaded). After which you can use the boot or autoboot commands or simply exit (provided autoboot_delay is not set to NO) to boot the system. start is the command used in the default /boot/loader.rc file (see loader(8)).

Initialize the support library so commands can be used without executing start first. Like start, it reads /boot/defaults/loader.conf and all other loader.conf(5) files specified in it (but does not load kernel or modules). Returns a flag on the stack to indicate if any configuration files were successfully loaded.

Reads and processes a loader.conf(5) file. Does not proceed to boot.

Enables the loading of module.

Disables the loading of module.

Toggles the loading of module on and off.

Shows the information gathered in the loader.conf(5) files about the module module.

Used inside loader.conf(5) files to specify the action after a module loading fails.

Used inside loader.conf(5) files to specify the action after a module loading fails.
file [file ...]
Process script files if they exist. Each file, in turn, is completely read into memory, and then each of its lines is passed to the command line interpreter. If any error is returned by the interpreter, the try-include command aborts immediately, without reading any other files, and silently returns without error.

The loader(8).
loader.4th itself.
loader(8) bootstrapping script.
File loaded by the start command.

Standard /boot/loader.rc:

include /boot/loader.4th

Load a different kernel with the standard configuration:

set kernel="kernel.old"

Read an additional configuration file and then proceed to boot:

read-conf /boot/special.conf

Disable the loading of the splash screen module and bitmap and then proceed to boot:

disable-module splash_bmp
disable-module bitmap

loader.conf(5), loader(8)

The loader.4th set of commands first appeared in FreeBSD 3.2.

The loader.4th set of commands was written by Daniel C. Sobral ⟨⟩.

A British espionage series.
November 13, 2013 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.