Subject: Re: possible root devices?
To: None <tech-kern@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 08/27/2007 03:21:11
On Mon, Aug 27, 2007 at 01:22:35AM -0400, der Mouse wrote:
> I've got a question about the list of possible root devices (the one
> printed if you type ? to the prompt provoked by RB_ASKNAME).
> 
> I'm working on my "root on cgd" stuff.  I think I'm most of the way
> there.  I got cgd0 to show up - it's in the list of disks according to
> hw.disknames - but it's not on the list of disks referred to above.
> That list looks as though it's scanning all devices and printing the
> disks, but there's obviously something going wrong.
> 
> Any ideas what I'm missing?

You may be looking for is_valid_disk() in sys/arch/x86/x86/x86_autoconf.c.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933 ext 24