Subject: Re: possible root devices?
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 08/27/2007 19:39:02
--J055lv7UDsGihh+u
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 27, 2007 at 01:30:07PM -0400, der Mouse wrote:
> >> 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"?
>=20
> 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.
>=20
> 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?

Yes, there is.  Same way I did vnd(4).

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--J055lv7UDsGihh+u
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRtMMNtgoQloHrPnoAQJPrggAwzv9nUpQZwL0ZgaIRZPMqX4CVv7Y7q8S
w52MVokbnDXSWoPRySAk+A8y0lY7p4wTOXmpX+N0BckjL4yeMxOWSD2wi4tAueCV
EpysaXuJBwkzTilRdJ0QZTbBVqsrz2j0K6ZAOizqyMMb7CCN9LlAAJJIIvPZ7H0B
Jofe8myBcrJEMnspaAUxfjGrEskg45m2erCyIcth4k1kw6oAKxOAbwNKf1bbhNLw
A4QLVQ0CvL7fWSGgJ35OuZiLmcWEW11vwIFgg6RkzPyYpm7593dQ11KgXMj5Hb2N
+6v0s1SU9iu0wWrQ0x0bb//Kgv6C0bfg4UcfW5y8QepmDCsvlRupDg==
=Zm1r
-----END PGP SIGNATURE-----

--J055lv7UDsGihh+u--