From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 21:24:31 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 E841C16A4CE; Thu, 21 Oct 2004 21:24:31 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6C943D31; Thu, 21 Oct 2004 21:24:31 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i9LLOT9r036148; Thu, 21 Oct 2004 23:24:29 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John Baldwin From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 21 Oct 2004 15:05:27 EDT." <200410211505.27635.jhb@FreeBSD.org> Date: Thu, 21 Oct 2004 23:24:29 +0200 Message-ID: <36147.1098393869@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@FreeBSD.org cc: current@FreeBSD.org cc: Tim Dettloff Subject: Re: Solution? Re: pxe-install on FreeBSD 5.3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 21:24:32 -0000 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.