Subject: Re: root device
To: Emmanuel Dreyfus <>
From: Jaromir Dolecek <>
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.


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

Jaromir Dolecek <>  
-=- 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.''     -=-