docs/150101: gsched(8) -- cites da0 then gives examples for ad0

Jeremy Chadwick freebsd at jdc.parodius.com
Mon Aug 30 00:10:02 UTC 2010


>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 at 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:



More information about the freebsd-doc mailing list