Subject: kern/32881: raidframe should use config_attach_pseudo()
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 02/20/2006 16:30:00
>Number:         32881
>Category:       kern
>Synopsis:       raidframe should use config_attach_pseudo()
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 20 16:30:00 +0000 2006
>Originator:     Jason R Thorpe
>Release:        NetBSD-current 20060220
>Organization:
        -- Jason R. Thorpe <thorpej@shagadelic.org>
>Environment:
>Description:
	raidframe manually allocates an array of "device" structures
	and then fills them in.  This is for the purpose of allowing
	root-on-raid.

	Instead, raidframe should use config_attach_pseudo() to create
	raid device instances as the RAID sets are configured (either
	via raid-autoconfigure or manually), and then config_detach()
	as RAID sets are torn down.
>How-To-Repeat:
	
>Fix: