FLUA(1)
π FLUA(1) β Lua interpreter for the FreeBSD base system β¨
okay so you opened the FLUA(1) page from the General Commands Manual, and it's literally the tiny Lua interpreter living inside the FreeBSD base system. no cap. π«Ά
πΈ NAME
flua β Lua interpreter for the FreeBSD base system π
β¨ SYNOPSIS
here's the exact fit, bestie:
flua [-EWiv] [-e string] [-l module] [-l g=module] [script [args]] [--]
[-]
that's -E, -W, -i, -v, -e with string, -l with module, -l with g=module, then script [args], --, and -. the page doesn't spell out extra flag meanings here, so I'm not inventing any β the synopsis is the receipt. π
π¦ DESCRIPTION
flua is a minimal Lua interpreter integrated into the FreeBSD base system. it's derived from Lua 5.4 with modifications to suit the needs of FreeBSD build infrastructure and system tooling. the whole vibe is internal use within the base system: flua is not designed for general-purpose scripting or use by third-party applications. periodt.
unlike full Lua installations provided by the Ports Collection, flua has a reduced feature set and is limited to meeting the requirements of base system environments such as the bootloader. it's giving "small, focused, built for the house," not "general-purpose scripting icon." π
π USAGE
flua is typically invoked internally by FreeBSD base system tools and build scripts. while it accepts Lua source files and arguments in a standard fashion, its limited environment and module support make it unsuitable for general scripting use. so likeβ¦ it can take the standard shape, but it's not your general scripting bestie. π
π INCLUDED MODULES
flua includes a subset of functionality from a small number of standard Lua modules as well as bespoke modules necessary for the base system. the lineup:
lfs(LuaFileSystem) β file attribute and directory manipulation πlposixβ basic POSIX system calls π§freebsd.kenv(3lua)πΈfreebsd.sys.linker(3lua)πhash(3lua)βjail(3lua)π
π NOTES
bestie, listen:fluashould not be used as a replacement forlua(1)from the Ports Collection (e.g.,lang/lua54), because it may be modified or updated to a newer Lua version in the future without retaining backwards compatibility.
π«Ά SEE ALSO
π₯ HISTORY
flua first appeared in FreeBSD 14.0. iconic. π
cute sign-off: this page's footer says Debian β’ April 28, 2025 β’ FLUA(1). mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2025 The FreeBSD Foundation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms