Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2023 12:22:15 GMT
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bce728719e7f - main - Add paragraph documenting loader.env functionlity
Message-ID:  <202311061222.3A6CMFuR021617@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by madpilot:

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

commit bce728719e7f57272d99b6d039f10b4c636fa024
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-11-06 12:11:26 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-11-06 12:21:53 +0000

    Add paragraph documenting loader.env functionlity
    
    Approved by:            docs (carlavilla)
    Differential Revision:  https://reviews.freebsd.org/D42476
---
 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?202311061222.3A6CMFuR021617>