Date: Sun, 29 Aug 2010 17:08:20 -0700 (PDT) From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/150101: gsched(8) -- cites da0 then gives examples for ad0 Message-ID: <20100830000820.8218D9B425@icarus.home.lan> Resent-Message-ID: <201008300010.o7U0A1BQ085837@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150101 >Category: docs >Synopsis: gsched(8) -- cites da0 then gives examples for ad0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 30 00:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Aug 2 07:35:23 PDT 2010 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_8_amd64 amd64 >Description: Looks like a simple typo. The EXAMPLE section indicates how to create a scheduling provider for /dev/da0, but then all the proceeding examples talk about /dev/ad0: EXAMPLES The following example shows how to create a scheduling provider for disk /dev/da0 , and how to destroy it. # 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; # the new geom is ad0.sched. # Remove the scheduler on the device: geom sched destroy -v ad0.sched. >How-To-Repeat: n/a >Fix: Change /dev/da0 in the first paragraph under EXAMPLE to /dev/ad0. Also while you're there, remove the extraneous space between the device name and the comma (e.g. /dev/da0 , and ...). :-) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100830000820.8218D9B425>