From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 22:12:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C833C16A4CE for ; Thu, 21 Oct 2004 22:12:14 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53AA143D55 for ; Thu, 21 Oct 2004 22:12:14 +0000 (GMT) (envelope-from dettloff@gmail.com) Received: by rproxy.gmail.com with SMTP id v18so43769rnb for ; Thu, 21 Oct 2004 15:12:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=QQOst9Wj7lNZ0hSop2XUvq9MH/xvIUx+pdzs/UhgkvGKLIVaDbO8qzT/l82xP3vCKFgvCcex/khSLnHitCGcSWAb1LJYilUnny+6N87nBjYD7NnpVwm3LFZwI2M589CBC0vb/a/NagAgMNpmSfesSb6AL/c14UuYxcLN0r3pmcY= Received: by 10.38.179.77 with SMTP id b77mr370390rnf; Thu, 21 Oct 2004 15:12:11 -0700 (PDT) Received: by 10.38.8.3 with HTTP; Thu, 21 Oct 2004 15:12:11 -0700 (PDT) Message-ID: <5b0444b50410211512e69784d@mail.gmail.com> Date: Fri, 22 Oct 2004 00:12:11 +0200 From: Tim Dettloff To: Poul-Henning Kamp In-Reply-To: <36147.1098393869@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200410211505.27635.jhb@FreeBSD.org> <36147.1098393869@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: Solution? Re: pxe-install on FreeBSD 5.3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tim Dettloff List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 22:12:14 -0000 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 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. >