From owner-freebsd-current Wed Mar 13 3:34: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 1237037B405; Wed, 13 Mar 2002 03:33:58 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16l73P-000DsO-00; Wed, 13 Mar 2002 13:36:23 +0200 From: Sheldon Hearn To: Emiel Kollof Cc: "Crist J. Clark" , huntting@glarp.com, current@FreeBSD.ORG Subject: Re: 4.5->5.0 kldxref:No such file or directory In-reply-to: Your message of "Wed, 13 Mar 2002 04:13:35 +0100." <20020313031335.GA70809@hackerheaven.org> Date: Wed, 13 Mar 2002 13:36:23 +0200 Message-ID: <53343.1016019383@axl.seasidesoftware.co.za> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 13 Mar 2002 04:13:35 +0100, Emiel Kollof wrote: > Why not test for it like this (or similar): > > [ -x /usr/sbin/kldxref ] && /usr/bin/kldxref (etcetera...) I think the reason this isn't helpful is because it only catches one failure case. The other is where /usr/sbin/kldxref doesn't execute properly, because it relies on features of an as-yet not installed shell, libc, kernel or all three. In such cases, I don't think we should consider the installation of the kernel to have failed. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message