VERSION.4TH(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’… version.4th(8) β€” the little file that flexes your boot version πŸ’…

okay bestie, so the whole vibe of version.4th is literally just this: it's a boot module that shows off the FreeBSD version string. main character energy for your boot screen, fr fr. ✨


✨ NAME ✨

version.4th β€” FreeBSD version string boot module


πŸŽ€ DESCRIPTION πŸŽ€

So like, the file that goes by the name of version.4th is a set of commands designed to draw the boot loader version at the bottom-right of the screen. it's giving "tiny but iconic," ngl. but heads up: the commands of version.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 version.4th, it must be included through the command:

include version.4th

this line is present in the default /boot/menu.rc file, so it is not needed (and should not be re-issued) in a normal setup. like, don't double-include it, bestie, it's already in there. πŸ’…

the commands provided by it are:

  • print_version β€” prints the contents of the loader_version environment variable right-justified at the column loader_version_x and row loader_version_y. periodt.

the environment variables that effect its behavior are:

  • loader_version β€” set automatically by loader(8), but you can override it by setting in loader.conf(5). this should be the version of boot loader used. it's literally the whole point of the module.
  • loader_version_x β€” sets the desired ending column position of loader_version. default is 80.
  • loader_version_y β€” sets the desired ending row position of loader_version. default is 24.
  • loader_color β€” if set to β€œNO” (case-insensitive) or β€œ0”, causes the version to be printed without color (default is ANSI Cyan). so if you're not in a colorful mood, that's the vibe check. 🎨

πŸ¦‹ FILES πŸ¦‹

here's the whole squad:

  • /boot/loader β€” the loader(8).
  • /boot/version.4th β€” version.4th itself. yes, the file is self-aware, iconic.
  • /boot/loader.rc β€” loader(8) bootstrapping script.

🌸 EXAMPLES 🌸

override loader(8) version in loader.conf(5):

loader_version="loader 1.1"

slay. now your boot screen says exactly what you want it to say. πŸ’…


🌈 SEE ALSO 🌈

loader.conf(5), color.4th(8), loader(8)

go check out color.4th(8) too if you're obsessed with aesthetics, iykyk. 🫢


⭐ HISTORY ⭐

the version.4th set of commands first appeared in FreeBSD 9.0. vintage but still serving looks. πŸ‘‘


πŸ’– AUTHORS πŸ’–

the version.4th set of commands was written by Devin Teske <dteske@FreeBSD.org>. thank you devin, you ate. 🫢


okay that's the whole page bestie, no cap. this Debian version is dated August 6, 2013, and it's lowkey a whole mood. now go flex that boot version. πŸ’œβœ¨

πŸ“¦ where this page comes from