Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2004 00:12:11 +0200
From:      Tim Dettloff <dettloff@gmail.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: Solution? Re: pxe-install on FreeBSD 5.3
Message-ID:  <5b0444b50410211512e69784d@mail.gmail.com>
In-Reply-To: <36147.1098393869@critter.freebsd.dk>
References:  <200410211505.27635.jhb@FreeBSD.org> <36147.1098393869@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Setting rootdevnames[0] = NULL and rootdevnames[1] = "ufs:/dev/md0"
makes the installer start, so the search does not terminate after [0].

A quick grep -r 'rootdevnames' *  also showed
sys/ia64/ia64/sscdisk.c:            rootdevnames[0] = "ufs:/dev/sscdisk0";

>Tim

On Thu, 21 Oct 2004 23:24:29 +0200, Poul-Henning Kamp
<phk@phk.freebsd.dk> wrote:
> In message <200410211505.27635.jhb@FreeBSD.org>, John Baldwin writes:
> 
> >> Doesn't the search terminate if [0] is NULL ?
> >
> >Perhaps there should be a small wrapper function to register a candidate root
> >with an associated priority and that wrapper function could then manage the
> >rootdevnames[] array and keep them sorted based on the priority?
> 
> No, the entire thing should be rototiled.
> 
> --
> 
> 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b0444b50410211512e69784d>