From nobody Wed Oct 05 16:50:18 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MjLCt4g9yz4VBfZ; Wed, 5 Oct 2022 16:50:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MjLCt497Wz3s2Q; Wed, 5 Oct 2022 16:50:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664988618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XSYKSpHAKYWoqkkjIHd0hjOWwZ+cWqqZz4IV5OPyznk=; b=d4mX/rP5Uq0c3NZGaAnXJJ/lFJAykTB7ZSNfUmSAlEcOSs+SgLir7KPaXhzmYl4remV8vG 5IbukiQUAh+aLevUH39M1TPInQwMoT6FT+Dl6kn4Zzq9bAS4Qu7/9OFmKVNZa2Rx56S2CF 75GKuSn/7a3/Qo+w+yNcQZ6xQvsqcMwhkIVwQ9GbofJYi7GZQjAuKPpse/jPbra/xczKH2 bnyYb8XfX5A6kEPtrGCmX5I8NG8vfcXPEPfJYa9vHam/KXbEGEB0jMdpsiVUxtz+lJUlXi CBPHu5SFt0Tj9igTnJThh6vpggpJf6FkwnG6Q8rQaCWOtxZngOE2C4qu1TLoXg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MjLCt3DkCzy1l; Wed, 5 Oct 2022 16:50:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 295GoICD072925; Wed, 5 Oct 2022 16:50:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 295GoIXj072919; Wed, 5 Oct 2022 16:50:18 GMT (envelope-from git) Date: Wed, 5 Oct 2022 16:50:18 GMT Message-Id: <202210051650.295GoIXj072919@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Benedict Reuschling Subject: git: d63104d253e2 - main - Add information on how to load gmirror on boot to auto activate mirrors List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bcr X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d63104d253e284964a2e7994553594b5b04422a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664988618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XSYKSpHAKYWoqkkjIHd0hjOWwZ+cWqqZz4IV5OPyznk=; b=dYQwsMnELirg7JD9NrIrhwcVjFFP+Or/jTlQ5MV23B1Jy8/n1Jg1zA5KWBFkrhROlSl9Hl Qc7cTJ8lHx2NiHOleEsqx+o0zRPXHc25+Av64PW5nyOyd0feYFGBgC4FMVJ+EOe2l3uz3H zxsFGMzu5DZCivhiBaZfrLGB4rDpaL/OMoyLeOrLPcN4aDOV50u5wLZehV0uv/D1OB/AEm vi7Tt+dHZ29/2M2GqZkdSDbZNaQXun+8C46J/zK/YuVUnqoTHo15Q18p40zK4SV7HIRn2E cm5Ot3VoiH+f+M2rdhR0BvfwE5d4BsHEj7MKkvQRopd0Xac99RAhi87iwWCRKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664988618; a=rsa-sha256; cv=none; b=f30Krgd9V1+QP7ACMjSSgjjjq+8FgYEMsqEUUMwvjhWxVxQJAsW864pIxMUpF+j2ggzQiG lcLCy9r0Ocg5tXnOfYFZM/KFmSg+IGEgrXcErAktuiUjKkLlIt1m1cBem3UrxAqGtX7lsA 6Rp6fa3mSNg2qVkX/wdlGlhVm2dVvnxWDCFLBSszg2luogCVlBwtjWOv0oKWt7jP33atyA 2pCR/v6K0Bhnlcfc+7UVU7BSP2GeXueNV6XVHWLtfyeewIzWROX2q8A3BH8gJFgmKtajVl E+jMKhrs3hJ6qvi5YsCtL46dUzxYQ+rFNkNtI+Q1vpUqtoxIbTXQoinMq1rdxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bcr (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d63104d253e284964a2e7994553594b5b04422a3 commit d63104d253e284964a2e7994553594b5b04422a3 Author: Benedict Reuschling AuthorDate: 2022-10-05 16:44:31 +0000 Commit: Benedict Reuschling 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 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