misc/170085: gsched.8: replace references to ad0
Jimmy Olgeni
olgeni at FreeBSD.org
Mon Jul 23 13:50:12 UTC 2012
>Number: 170085
>Category: misc
>Synopsis: gsched.8: replace references to ad0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 23 13:50:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jimmy Olgeni
>Release: FreeBSD 9.0-STABLE amd64
>Organization:
Colby
>Environment:
System: FreeBSD backoffice 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Jul 9 02:43:01 CEST 2012 root at backoffice:/usr/obj/usr/src/sys/RELENG_9.amd64 amd64
>Description:
The gsched(8) man page references ad0, but the ad(4) driver no
longer exists in both 9.x and CURRENT.
It may be replaced by ada(4) or da(4).
>How-To-Repeat:
>Fix:
Patch for src/sbin/geom/class/sched/gsched.8:
Index: gsched.8
===================================================================
--- gsched.8 (revision 238716)
+++ gsched.8 (working copy)
@@ -135,19 +135,19 @@
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/ad0 ,
+.Pa /dev/ada0 ,
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
-# 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.
+# Configure device ada0 to use scheduler "rr":
+geom sched insert -a rr ada0
+# Now provider ada0 uses the "rr" algorithm;
+# the new geom is ada0.sched.
# Remove the scheduler on the device:
-geom sched destroy -v ad0.sched.
+geom sched destroy -v ada0.sched.
.Ed
.Sh SEE ALSO
.Xr geom 4 ,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list