diff options
Diffstat (limited to 'lib/geom/mirror')
-rw-r--r-- | lib/geom/mirror/Makefile | 5 | ||||
-rw-r--r-- | lib/geom/mirror/Makefile.depend | 3 | ||||
-rw-r--r-- | lib/geom/mirror/geom_mirror.c | 5 | ||||
-rw-r--r-- | lib/geom/mirror/gmirror.8 | 21 |
4 files changed, 19 insertions, 15 deletions
diff --git a/lib/geom/mirror/Makefile b/lib/geom/mirror/Makefile index 553e44787d8b..cf0174ee0766 100644 --- a/lib/geom/mirror/Makefile +++ b/lib/geom/mirror/Makefile @@ -1,7 +1,4 @@ -# $FreeBSD$ - -PACKAGE=runtime -.PATH: ${.CURDIR:H:H}/misc +PACKAGE=geom GEOM_CLASS= mirror diff --git a/lib/geom/mirror/Makefile.depend b/lib/geom/mirror/Makefile.depend index 7902e1927044..27e87393b549 100644 --- a/lib/geom/mirror/Makefile.depend +++ b/lib/geom/mirror/Makefile.depend @@ -1,8 +1,6 @@ -# $FreeBSD$ # Autogenerated - do NOT edit! DIRDEPS = \ - gnu/lib/csu \ include \ include/xlocale \ lib/${CSU_DIR} \ @@ -10,7 +8,6 @@ DIRDEPS = \ lib/libcompiler_rt \ lib/libgeom \ lib/libmd \ - sbin/geom/core \ .include <dirdeps.mk> diff --git a/lib/geom/mirror/geom_mirror.c b/lib/geom/mirror/geom_mirror.c index 2b1860eb7548..8b47592803d9 100644 --- a/lib/geom/mirror/geom_mirror.c +++ b/lib/geom/mirror/geom_mirror.c @@ -1,5 +1,5 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2004-2009 Pawel Jakub Dawidek <pjd@FreeBSD.org> * All rights reserved. @@ -26,9 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/param.h> #include <err.h> #include <errno.h> diff --git a/lib/geom/mirror/gmirror.8 b/lib/geom/mirror/gmirror.8 index 44ea08bcf65b..aeffb2d948b1 100644 --- a/lib/geom/mirror/gmirror.8 +++ b/lib/geom/mirror/gmirror.8 @@ -22,15 +22,29 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD$ -.\" -.Dd July 21, 2022 +.Dd January 23, 2025 .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 @@ -422,7 +436,6 @@ there. .Xr geom 4 , .Xr dumpon 8 , .Xr geom 8 , -.Xr gvinum 8 , .Xr mount 8 , .Xr newfs 8 , .Xr savecore 8 , |