Subject: Re: root device
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 02/08/2003 12:55:30
There has to be a better/more certain way. (If there isn't then we
should create one.)

Perry

Jaromir Dolecek <jdolecek@netbsd.org> writes:

> i386 checks for config root via config_rootfound("mainbus", NULL),
> so I guess the answer is yes at least on i386. I think most
> of other archs use 'mainbus' pseudo bus as root, too.
> 
> Jaromir
> 
> Emmanuel Dreyfus wrote:
> > > Root is mainbus0
> > 
> > Always? Walking the device list searching for mainbus0 is considered
> > safe?
> > 
> > -- 
> > Emmanuel Dreyfus
> > UNIX *is* user friendly. It is just a bit selective about his friends
> > manu@netbsd.org
> > 
> 
> 
> -- 
> Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
> -=- We should be mindful of the potential goal, but as the tantric    -=-
> -=- Buddhist masters say, ``You may notice during meditation that you -=-
> -=- sometimes levitate or glow.   Do not let this distract you.''     -=-
> 

-- 
Perry E. Metzger		perry@piermont.com