Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2024 02:34:35 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 25cf4c045208 - stable/14 - Add paragraph documenting loader.env functionlity
Message-ID:  <202404160234.43G2YZPX037260@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=25cf4c045208aff47ae7fece8ccc2717f0c0ad6a

commit 25cf4c045208aff47ae7fece8ccc2717f0c0ad6a
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-11-06 12:11:26 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-16 02:32:03 +0000

    Add paragraph documenting loader.env functionlity
    
    Approved by:            docs (carlavilla)
    Differential Revision:  https://reviews.freebsd.org/D42476
    
    (cherry picked from commit bce728719e7f57272d99b6d039f10b4c636fa024)
---
 stand/man/loader.efi.8 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/stand/man/loader.efi.8 b/stand/man/loader.efi.8
index 37f56cf7be3f..16165c68556b 100644
--- a/stand/man/loader.efi.8
+++ b/stand/man/loader.efi.8
@@ -205,6 +205,14 @@ does not implement the probe
 .Fl P
 functionality where we use the video console if a keyboard is connected and a
 serial console otherwise.
+.Ss Additional Environment Variables
+.Nm
+loads some extra variables early in startup from
+.Pa /efi/freebsd/loader.env
+from the EFI partition. Only simple variables can be set here. It can be useful to specify the root filesystem:
+.Bd -literal -offset indent
+rootdev=disk0s1a
+.Ed
 .Ss Staging Slop
 The kernel must parse the firmware memory map tables to know what memory
 it can use.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404160234.43G2YZPX037260>