Bug 150101

Summary: gsched(8) -- cites da0 then gives examples for ad0
Product: Documentation Reporter: Jeremy Chadwick <freebsd>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jeremy Chadwick 2010-08-30 01:10:01 UTC
	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.

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 ...).  :-)
How-To-Repeat: 	n/a
Comment 1 Maxim Konovalov freebsd_committer freebsd_triage 2010-08-30 06:17:04 UTC
State Changed
From-To: open->closed

Duplicate of docs/150082 (already fixed).