Subject: Re: root device
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 02/08/2003 13:25:29
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.''     -=-