summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/sched
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-08-29 11:32:41 +0000
committeruqs <uqs@FreeBSD.org>2010-08-29 11:32:41 +0000
commit9112be80d82f5c839a88cf13631c36faca3a85a4 (patch)
tree09da399ff7c228102fa6cc57b029ee0f56c9e68f /sbin/geom/class/sched
parent2efeeccf294e7ce90b18af42e7098954b75504e8 (diff)
downloadFreeBSD-src-9112be80d82f5c839a88cf13631c36faca3a85a4.zip
FreeBSD-src-9112be80d82f5c839a88cf13631c36faca3a85a4.tar.gz
gsched(8): fix example usage, mdoc nits
- ad0 was referred to as da0 - wrong parameter -s instead of -a in example - use double quotes consistently PR: docs/150082 Submitted by: N.J. Mann <njm@njm.me.uk> MFC after: 2 weeks
Diffstat (limited to 'sbin/geom/class/sched')
-rw-r--r--sbin/geom/class/sched/gsched.814
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/geom/class/sched/gsched.8 b/sbin/geom/class/sched/gsched.8
index caa8417..7e6b113 100644
--- a/sbin/geom/class/sched/gsched.8
+++ b/sbin/geom/class/sched/gsched.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 12, 2010
+.Dd August 29, 2010
.Dt GSCHED 8
.Os
.Sh NAME
@@ -92,7 +92,7 @@ which in turn forwards requests to the existing geom.
This operation allows one to start/stop a scheduling service
on an already existing provider.
.Pp
-A subsequent 'destroy' will remove the newly created geom and
+A subsequent "destroy" will remove the newly created geom and
hook the provider back to the original geom.
.It Cm configure
Configure existing scheduling provider. It supports the same options
@@ -135,16 +135,16 @@ maximum amount of debug information is printed.
Exit status is 0 on success, and 1 if the command fails.
.Sh EXAMPLES
The following example shows how to create a scheduling provider for disk
-.Pa /dev/da0
-, and how to destroy it.
+.Pa /dev/ad0 ,
+and how to destroy it.
.Bd -literal -offset indent
# Load the geom_sched module:
kldload geom_sched
# Load some scheduler classes used by geom_sched:
kldload gsched_rr gsched_as
-# Configure device ad0 to use scheduler 'rr':
-geom sched insert -s rr ad0
-# Now provider ad0 uses the 'rr' algorithm;
+# Configure device ad0 to use scheduler "rr":
+geom sched insert -a rr ad0
+# Now provider ad0 uses the "rr" algorithm;
# the new geom is ad0.sched.
# Remove the scheduler on the device:
geom sched destroy -v ad0.sched.
OpenPOWER on IntegriCloud