delay.4th(8)

delay.4th8

Freebsd debugging boot module

Overview

The file that goes by the name of delay.4th is a set of commands designed to add debugging capabilities to loader(8). The commands of delay.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 delay.4th, it must be included through the command:

include delay.4th

This line is present in /boot/beastie.4th file, so it is not needed (and should not be re-issued) in a normal setup.

The commands provided by it are:

delay_execute

Executes the [string] procedure stored in the delay_command environment variable after loader_delay seconds.

If the optional delay_showdots environment variable is set, a continuous series of dots is printed.

During the duration, the user can either press Ctrl-C (or Esc) to abort or ENTER to proceed immediately.

The environment variables that effect its behavior are:

delay_command

The command to be executed by delay_execute.

loader_delay

The duration (in seconds) to delay before executing delay_command.

delay_showdots

If set, will cause delay_execute to print a continuous series of dots during the delay duration.

Files

/boot/loader

The loader(8).

/boot/delay.4th

delay.4th itself.

/boot/loader.rc

loader(8) bootstrapping script.

Examples

Introducing a 5-second delay before including another file from /boot/loader.rc:

include /boot/delay.4th
set delay_command="include /boot/other.4th"
set delay_showdots
set loader_delay=5
delay_execute

Releases

34 releases since FreeBSD 9.0-RELEASE; the text changed 21 times.

  1. 9.0
  2. 9.1
  3. 9.2
  4. 9.3
  5. 10.0
  6. 10.1
  7. 10.2
  8. 10.3
  9. 10.4
  10. 11.0
  11. 11.1
  12. 11.2
  13. 11.3
  14. 11.4
  15. 12.0
  16. 12.1
  17. 12.2
  18. 12.3
  19. 12.4
  20. 13.0–13.2
  21. 13.3–15.1
  22. 16.0

History

The delay.4th set of commands first appeared in FreeBSD 9.0.

Authors

The delay.4th set of commands was written by Devin Teske ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.