summaryrefslogtreecommitdiff
path: root/stand/lua/core.lua.8
AgeCommit message (Collapse)Author
2025-05-12stand/lua manuals: Describe betterAlexander Ziaee
The lua boot loader module manuals were getting pulled into search results for FreeBSD, but not for "boot" or "loader". Reword them to increase clarity for boot or loader searches, as well as the FreeBSD search term which we've been scoping to system topic overview manuals. MFC after: 3 days Reviewed by: imp, mhorne Approved by: mhorne (mentor) Pull Request: https://github.com/freebsd/freebsd-src/pulls/1628
2024-07-29stand: Print a warning of the loader is too oldWarner Losh
If the loader is < 3.0, print a warning that it's too old and needs to be upgraded. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D45889
2023-12-08loader: provide a features table for binary compatibility advertisementKyle Evans
liblua now provides a loader.has_feature() function to probe the loader binary for features advertised. name => desc mappings are provided in loader.features to get a list of all of the features loader *can* support. core.hasFeature is provided as a shim to loader.has_feature so that individual consumers don't need to think about the logic of the loader module not providing has_feature; we know that means the feature isn't enabled. The first consumer of this will be EARLY_ACPI to advertise that the loader binary probes for ACPI presence before the interpreter has started, so that we know whether we can trust the presence of acpi.rsdp as relatively authoritative. In general, it's intended to be used to avoid breaking new scripts on older loaders within reason. This will be used in lua as `core.hasFeature("EARLY_ACPI")`, while the C bits of loader will `feature_enable(FEATURE_EARLY_ACPI)`. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D42695
2023-11-24stand: Retire setting hw.ata.wc: it doesn't exist.Warner Losh
hw.ata.wc was disconnected as part ot the 2013 cam-ification of ata. No need to continue setting it. It's been unused in FreeBSD 10.x and newer. Sponsored by: Netflix
2023-11-24stand: Retire setting hw.eisa_slots.Warner Losh
When the eisa code was removed in 2017, prior to the stable/12 branch, setting hw.eisa_slots became a nop. The oldest supported branch doesn't have eisa at all. The need to set it manually on boot disappeared largely by 2000... Sponsored by: Netflix
2023-11-20loader: improve lua ACPI detection and handlingR. Christian McDonald
This is a follow-up patch to https://reviews.freebsd.org/D42459 that modifies the loader lua to use the correct loader variables for determining ACPI availability. This also fixes a bug where ACPI can be inadvertently disabled when setting System Defaults at the loader menu. Reviewed by: imp, kevans Approved by: kp Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D42483
2023-08-16Remove $FreeBSD$: two-line nroff patternWarner Losh
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
2018-07-20Eliminate zfsloader man page.Warner Losh
Remove all cross references to zfsloader.8 and /boot/zfsloader. Move ZFS specific info into loader.8. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D16361 Notes: svn path=/head/; revision=336533
2018-05-09Remove "All Rights Reserved" on files that I hold sole copyright onKyle Evans
See r333391 for more detail; in summary: it holds no weight and may be removed. Notes: svn path=/head/; revision=333418
2018-03-21core.lua(8): Update to reflect recently added function clearCachedKernelsKyle Evans
Notes: svn path=/head/; revision=331282
2018-03-02core.lua(8): Add missing note about core.KEYSTR_CSIKyle Evans
Notes: svn path=/head/; revision=330269
2018-03-02Add core.lua(8), but do not add to distributionKyle Evans
Distribution will be done after all of the lualoader manpages are created. Reviewed by: rpokala Differential Revision: https://reviews.freebsd.org/D14479 Notes: svn path=/head/; revision=330267