Subject: Re: root device
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 02/12/2003 17:45:52
manu@netbsd.org (Emmanuel Dreyfus) writes:
> >  > I fully agree, the problem is to make the fake entries appearing at a
> >  > convenient place. If they are in the device tree, it's quite
> >  > straightforward. 
> > I'm not entirely happy with the idea of polluting the device tree just
> > to please an emulation.
> 
> Pollution is just about adding a few pseudodevices in the device tree
> (we could gather them under one compat_mach pseudodevice attached to the
> root if you wish). I'm open to other suggestions, but I don't see a
> better way of handling that for now.

I'll point out that it would be nice to be able to have a userland
tool to allow exploration of the full device tree even ignoring the
emulation stuff. Having the pseudodevices at least somewhat parented
would make that easier.

Perry