Subject: Re: root device
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 02/08/2003 18:33:23
manu@netbsd.org (Emmanuel Dreyfus) writes:
> > What's the intended usage for this? What code would care to know the config
> > tree root and why?
> 
> IOKit emulation in COMPAT_MACH. There is some API to explore the device
> tree from userland, and this includesgetting the root node.
> 
> Having a global pointing to the root device is probably the right way,
> the problem will just be to find the name, since root_device is already
> used. What do you think?

devtree_root?

Perry