From owner-svn-src-stable-8@FreeBSD.ORG Fri Sep 3 11:58:51 2010 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C2D10656FA; Fri, 3 Sep 2010 11:58:51 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DCC1F8FC0C; Fri, 3 Sep 2010 11:58:50 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o83BwoYb047773; Fri, 3 Sep 2010 11:58:50 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o83Bwowt047771; Fri, 3 Sep 2010 11:58:50 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201009031158.o83Bwowt047771@svn.freebsd.org> From: Ulrich Spoerlein Date: Fri, 3 Sep 2010 11:58:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212175 - stable/8/sbin/geom/class/sched X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 11:58:51 -0000 Author: uqs Date: Fri Sep 3 11:58:50 2010 New Revision: 212175 URL: http://svn.freebsd.org/changeset/base/212175 Log: MFC r211962: 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 Modified: stable/8/sbin/geom/class/sched/gsched.8 (contents, props changed) Directory Properties: stable/8/sbin/geom/ (props changed) Modified: stable/8/sbin/geom/class/sched/gsched.8 ============================================================================== --- stable/8/sbin/geom/class/sched/gsched.8 Fri Sep 3 10:40:53 2010 (r212174) +++ stable/8/sbin/geom/class/sched/gsched.8 Fri Sep 3 11:58:50 2010 (r212175) @@ -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 e 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 p 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.