Date: Wed, 5 Oct 2022 16:50:18 GMT From: Benedict Reuschling <bcr@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d63104d253e2 - main - Add information on how to load gmirror on boot to auto activate mirrors Message-ID: <202210051650.295GoIXj072919@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bcr (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d63104d253e284964a2e7994553594b5b04422a3 commit d63104d253e284964a2e7994553594b5b04422a3 Author: Benedict Reuschling <bcr@FreeBSD.org> AuthorDate: 2022-10-05 16:44:31 +0000 Commit: Benedict Reuschling <bcr@FreeBSD.org> CommitDate: 2022-10-05 16:44:31 +0000 Add information on how to load gmirror on boot to auto activate mirrors PR: 234997 Reported by: Michiel van Baak <michiel@vanbaak.eu> Event: Aberdeen Hackathon 2022 Differential Revision: https://reviews.freebsd.org/D20577 --- lib/geom/mirror/gmirror.8 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/geom/mirror/gmirror.8 b/lib/geom/mirror/gmirror.8 index 44ea08bcf65b..c7d2b0e0e7ac 100644 --- a/lib/geom/mirror/gmirror.8 +++ b/lib/geom/mirror/gmirror.8 @@ -24,13 +24,29 @@ .\" .\" $FreeBSD$ .\" -.Dd July 21, 2022 +.Dd October 5, 2022 .Dt GMIRROR 8 .Os .Sh NAME .Nm gmirror .Nd "control utility for mirrored devices" .Sh SYNOPSIS +To compile GEOM_MIRROR into your kernel, add the following lines to your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "options GEOM_MIRROR" +.Ed +.Pp +Alternatively, to load the GEOM_MIRROR module at boot time, add the following +line to your +.Xr loader.conf 5 : +.Bd -literal -offset indent +geom_mirror_load="YES" +.Ed +.Pp +.No Usage of the Nm +utility: +.Pp .Nm .Cm label .Op Fl Fhnv
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210051650.295GoIXj072919>