Page MenuHomeFreeBSD

D59967.diff
No OneTemporary

D59967.diff

diff --git a/stand/man/loader_simp.8 b/stand/man/loader_simp.8
--- a/stand/man/loader_simp.8
+++ b/stand/man/loader_simp.8
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd July 13, 2026
+.Dd July 14, 2026
.Dt LOADER_SIMP 8
.Os
.Sh NAME
@@ -785,6 +785,79 @@
refers to a ZFS filesystem, then
.Nm
will instruct kernel to use that filesystem as the root filesystem.
+.Ss NETWORK BOOT VARIABLES
+When
+.Nm
+is built with network support, booting over the network sets a number
+of environment variables describing the network configuration obtained,
+for the kernel's
+.Xr diskless 8
+mechanism to consume.
+These are set automatically and are not normally set by hand.
+.Bl -tag -width bootfile
+.It Va boot.netif.gateway
+The default gateway address in use.
+.It Va boot.netif.hwaddr
+The link-layer address of the interface
+.Nm
+booted from.
+.It Va boot.netif.ip
+The IP address assigned to the interface
+.Nm
+booted from.
+.It Va boot.netif.mtu
+The interface's MTU, if it differs from the default.
+.It Va boot.netif.netmask
+The netmask assigned to the interface.
+.It Va boot.netif.server
+The IP address of the server the root filesystem is being loaded from.
+.It Va boot.nfsroot.nfshandle
+.It Va boot.nfsroot.nfshandlelen
+The NFS file handle, and its length, for the mounted root filesystem,
+when booting with
+.Va boot.nfsroot.path
+set.
+Used by the kernel to remount the root filesystem without needing to
+contact the NFS server's mount daemon again.
+.It Va boot.nfsroot.path
+.It Va boot.nfsroot.server
+The NFS export path and server address the root filesystem is being
+loaded from, when the network root filesystem is NFS.
+.It Va boot.tftproot.path
+.It Va boot.tftproot.server
+The TFTP path and server address the root filesystem is being loaded
+from, when the network root filesystem is TFTP
+.Pq e.g.\& a memory disk image .
+.It Va gatewayip
+.It Va ipaddr
+.It Va netmask
+.It Va serverip
+Setting all four of these
+.Pq EFI and U-Boot only
+statically configures the network interface, skipping BOOTP/DHCP.
+If any of the four is left unset, all of them are ignored and
+BOOTP/DHCP proceeds as usual.
+.It Va nfs.read_size
+Sets the read block size used by the NFS client, in bytes.
+Values outside the supported range are silently clamped; invalid
+values fall back to the minimum.
+.It Va rootpath
+The path on the boot server to load the root filesystem or file from.
+Can be set ahead of time
+.Pq EFI and U-Boot only
+to override the value obtained via BOOTP/DHCP, and can be examined or
+changed afterward with the
+.Ic netserver
+command
+.Pq EFI only .
+.It Va tftp.blksize
+.It Va tftp.windowsize
+Override the TFTP block size and window size negotiated with the
+server, per
+.Rs
+.%T "RFC 7440"
+.Re
+.El
.Sh SECURITY
Access to the
.Nm

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 25, 4:40 PM (5 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39588376
Default Alt Text
D59967.diff (2 KB)

Event Timeline