Subject: Re: port-i386/2925: NetBSD/i386 can not boot from CD-ROM
To: None <tech-kern@NetBSD.ORG>
From: Mike Long <>
List: tech-kern
Date: 11/10/1996 18:03:21
>From: Martin Husemann <>
>Date: Sat, 9 Nov 1996 03:06:15 +-100
>Wolfgang Solfrank wrote:
>> You may want to have a look into <sys/arch/powerpc/powerpc/ofw_machdep.c>
>> into dk_setroot and its subroutine, dk_match_ffs.  While surely not being
>> perfect, this code tries to figure out whether to use ffs, cd9660 or nfs
>> for mounting the root filesystem.
>This should all be handled in M.I. code.
>And I'm not sure (but haven't looked at that code yet), figuring the fs type is
>the right thing. It doesn't scale, but on the other hand, new fs types aren't
>added that often...

While I haven't looked into this at all, I have to ask:

Why can't you just get the FS type from the disklabel?
Mike Long <>     <URL:>
VLSI Design Engineer         finger for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil