geom.8 (94db10b2db29f897e4934544a5efeaa704d06aa3) | geom.8 (794f5122bb0c9bad1c3dfedbf373a728b6689297) |
---|---|
1.\" Copyright (c) 2004-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" | 1.\" Copyright (c) 2004-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" |
27.Dd December 12, 2022 | 27.Dd May 9, 2023 |
28.Dt GEOM 8 29.Os 30.Sh NAME 31.Nm geom 32.Nd "universal control utility for GEOM classes" 33.Sh SYNOPSIS 34.Nm 35.Ar class --- 86 unchanged lines hidden (view full) --- 122.Pa /lib/geom/ 123directory and are loaded via 124.Xr dlopen 3 125function when the class name is known. 126When a class-specific shared library exists, a direct utility should also be 127available under the name of 128.Nm g Ns Ar class . 129.Pp | 28.Dt GEOM 8 29.Os 30.Sh NAME 31.Nm geom 32.Nd "universal control utility for GEOM classes" 33.Sh SYNOPSIS 34.Nm 35.Ar class --- 86 unchanged lines hidden (view full) --- 122.Pa /lib/geom/ 123directory and are loaded via 124.Xr dlopen 3 125function when the class name is known. 126When a class-specific shared library exists, a direct utility should also be 127available under the name of 128.Nm g Ns Ar class . 129.Pp |
130Currently available classes which are aware of 131.Nm : | 130Currently, classes aware of 131.Nm 132are: |
132.Pp 133.Bl -bullet -offset indent -compact 134.It 135CACHE 136.It 137CONCAT 138.It 139ELI --- 39 unchanged lines hidden (view full) --- 179.El 180.Sh EXIT STATUS 181Exit status is 0 on success, and 1 if the command fails. 182.Sh EXAMPLES 183The following example shows how to set up a stripe on three disks for automatic 184configuration: 185.Bd -literal -offset indent 186geom stripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2 | 133.Pp 134.Bl -bullet -offset indent -compact 135.It 136CACHE 137.It 138CONCAT 139.It 140ELI --- 39 unchanged lines hidden (view full) --- 180.El 181.Sh EXIT STATUS 182Exit status is 0 on success, and 1 if the command fails. 183.Sh EXAMPLES 184The following example shows how to set up a stripe on three disks for automatic 185configuration: 186.Bd -literal -offset indent 187geom stripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2 |
188.Ed 189.Pp |
|
187or: | 190or: |
191.Bd -literal -offset indent |
|
188gstripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2 189.Ed 190.Pp 191Print the list of all providers from the DISK class: 192.Bd -literal -offset indent 193geom disk list 194.Ed 195.Pp --- 31 unchanged lines hidden --- | 192gstripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2 193.Ed 194.Pp 195Print the list of all providers from the DISK class: 196.Bd -literal -offset indent 197geom disk list 198.Ed 199.Pp --- 31 unchanged lines hidden --- |