summaryrefslogtreecommitdiffstats
path: root/share/man/man9/g_consumer.9
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2004-05-18 11:33:37 +0000
committerle <le@FreeBSD.org>2004-05-18 11:33:37 +0000
commit37da7b173ff33e1e906fa2c340c5f4c54d507d0a (patch)
tree7d95d47477388eec97ecc5d5b75e4384b3420be3 /share/man/man9/g_consumer.9
parent8fb20ac87c3d1348d170075cef34198b6208270d (diff)
downloadFreeBSD-src-37da7b173ff33e1e906fa2c340c5f4c54d507d0a.zip
FreeBSD-src-37da7b173ff33e1e906fa2c340c5f4c54d507d0a.tar.gz
Update several GEOM related manual pages:
*) Fix spelling errors. *) Better english. *) Re-phrasing. Not Reviewed by: pjd (one week timeout) Approved by: grog (mentor)
Diffstat (limited to 'share/man/man9/g_consumer.9')
-rw-r--r--share/man/man9/g_consumer.922
1 files changed, 11 insertions, 11 deletions
diff --git a/share/man/man9/g_consumer.9 b/share/man/man9/g_consumer.9
index f0b5b1c..7e94191 100644
--- a/share/man/man9/g_consumer.9
+++ b/share/man/man9/g_consumer.9
@@ -38,34 +38,34 @@
.Ft void
.Fn g_destroy_consumer "struct g_consumer *cp"
.Sh DESCRIPTION
-The GEOM consumer is the backdoor through which a geom connects to
+A GEOM consumer is the backdoor through which a geom connects to
another GEOM provider and through which I/O requests are sent.
.Pp
The
.Fn g_new_consumer
-function creates a new consumer releated to geom
+function creates a new consumer on geom
.Fa gp .
-The consumer is unusable prior attaching to a provider and gaining access
-to it.
-To serve its purpose, the consumer has to be attached to a provider
-with the
+Before using the new consumer, it has to be attached to a provider with
.Xr g_attach 9
-function.
+and opened with
+.Xr g_access 9 .
.Pp
The
.Fn g_destroy_consumer
-function destroys given consumer and cancels all related pending events.
+function destroys the given consumer and cancels all related pending events.
This function is the last stage of killing an unwanted consumer.
.Pp
.Sh RESTRICTIONS/CONDITIONS
.Fn g_new_consumer :
.Bl -item -offset indent
.It
-The geom related to the created consumer must have the
+The geom
+.Fa gp
+has to have
.Fa start
and
.Fa access
-fields defined.
+methods defined.
.It
The topology lock has to be held.
.El
@@ -73,7 +73,7 @@ The topology lock has to be held.
.Fn g_destroy_consumer :
.Bl -item -offset indent
.It
-The consumer can not be attached.
+The consumer must not be attached to a provider.
.It
The access count has to be 0.
.It
OpenPOWER on IntegriCloud