diff options
Diffstat (limited to 'share/man/man9/g_geom.9')
-rw-r--r-- | share/man/man9/g_geom.9 | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/share/man/man9/g_geom.9 b/share/man/man9/g_geom.9 index ff21c16b31d6..19c491098018 100644 --- a/share/man/man9/g_geom.9 +++ b/share/man/man9/g_geom.9 @@ -25,7 +25,7 @@ .\" $FreeBSD$ .\" .Dd January 16, 2004 -.Dt g_geom 9 +.Dt G_GEOM 9 .Os .Sh NAME .Nm g_new_geomf , @@ -43,7 +43,9 @@ The geom (do not confuse with .Dq GEOM ) is an instance of a GEOM class. -For example: in a typical i386 FreeBSD system, there will be one geom +For example: in a typical i386 +.Fx +system, there will be one geom of class MBR for each disk. The geom's name is not really important, it is only used in the XML dump and for debugging purposes. @@ -53,7 +55,9 @@ The .Fn g_new_geomf function creates a new geom, which will be an instance of the class .Fa mp . -The geom's name is created in a printf-like way from the rest of the arguments. +The geom's name is created in a +.Xr printf 3 Ns +-like way from the rest of the arguments. .Pp The .Fn g_destroy_geom @@ -65,7 +69,7 @@ The structure contains fields that should be set by the caller after geom creation, but before creating any providers or consumers related to this geom (not all are required): -.Bl -inset -offset indent +.Bl -tag -offset indent -width indent .It Vt "g_start_t *" Va start Pointer to a function used for I/O processing. .It Vt "g_spoiled_t *" Va spoiled @@ -105,14 +109,16 @@ The topology lock has to be held. .Fn g_destroy_geom : .Bl -item -offset indent .It -The geom can not posses any providers. +The geom cannot posses any providers. .It -The geom can not posses any consumers. +The geom cannot posses any consumers. .It The topology lock has to be held. .El .Sh RETURN VALUES +The .Fn g_new_geomf +function returns a pointer to the newly created geom. .Sh EXAMPLES Create an example geom. |