Subject: Re: possible root devices?
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 08/27/2007 13:30:07
>> I'm working on my "root on cgd" stuff [and cgd0 doesn't show in the
>> list from ? at "root device:"].
> Are you sure there's a device_t corresponding to "cgd0"?

Ooo, that sounds plausible, and, now that you mention it, I think this
may be why my 1.4T encrypted disk implementation prompted me to create
a pseudo0 bus which attached "at mainbus", for ed to attach to.  I'm
sure I (thought I) needed it in the device tree for something, and that
may be it.

What's the right fix here, have you any thoughts?  Should I create a
pseudo bus as I did for 1.4T, or is there some way to get a device_t
for cgd0 as a conventional pseudo-device?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B