summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2021-09-13 11:49:23 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2021-09-13 11:49:23 +0000
commit6b5347687ac417958a38c72a3e863239ccd70960 (patch)
treea0466977ded08ec4c49230bf1b9deef207838876 /share/man
parentbb856ab86ed178913d17dfeb0518f9333ea8c518 (diff)
introduce /etc/bsd.re-config which can be used to configure the kernel
using config(8); the contents of this configuration file will be fed to config(8) after kernel relinking is done, so on the next boot the new kernel will have all the configuration changes set by the user this comes handy if you still want to use KARL while making changes to the GENERIC kernel diff from Paul de Weerd with input from several developers
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man8/boot_config.811
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man8/boot_config.8 b/share/man/man8/boot_config.8
index 3e5d606e573..7816fd38cf0 100644
--- a/share/man/man8/boot_config.8
+++ b/share/man/man8/boot_config.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: boot_config.8,v 1.31 2019/09/06 21:30:32 cheloha Exp $
+.\" $OpenBSD: boot_config.8,v 1.32 2021/09/13 11:49:21 robert Exp $
.\"
.\" Copyright (c) 1996 Mats O Jansson
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 6 2019 $
+.Dd $Mdocdate: September 13 2021 $
.Dt BOOT_CONFIG 8
.Os
.Sh NAME
@@ -60,6 +60,12 @@ UKC>
.Pp
Changes made can be saved for the next reboot, by using
.Xr config 8 .
+However, those would not be persisted across system upgrades and would
+prevent kernel relinking.
+To ensure these changes are carried over to upgraded kernels, they can
+be save to the
+.Xr bsd.re-config 5
+configuration file.
.Sh COMMANDS
.Bl -tag -width "disable devno | dev"
.It Ic add Ar dev
@@ -189,6 +195,7 @@ Continuing...
mainbus0 (root)
.Ed
.Sh SEE ALSO
+.Xr bsd.re-config 5
.Xr config 8
.Sh AUTHORS
.An Mats O Jansson Aq Mt moj@stacken.kth.se