From owner-freebsd-current@FreeBSD.ORG Thu Jul 15 14:26:44 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 43DEE16A4CE for ; Thu, 15 Jul 2004 14:26:44 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEC1D43D3F for ; Thu, 15 Jul 2004 14:26:43 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from dhcp50.pn.xcllnt.net (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i6FEQfDm001408; Thu, 15 Jul 2004 07:26:41 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp50.pn.xcllnt.net (localhost [127.0.0.1]) i6FDtnbF000649; Thu, 15 Jul 2004 06:55:49 -0700 (PDT) (envelope-from marcel@dhcp50.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp50.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i6FDtn39000648; Thu, 15 Jul 2004 06:55:49 -0700 (PDT) (envelope-from marcel) Date: Thu, 15 Jul 2004 06:55:49 -0700 From: Marcel Moolenaar To: Wilko Bulte Message-ID: <20040715135549.GA633@dhcp50.pn.xcllnt.net> References: <20040714203642.GA13855@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040714203642.GA13855@freebie.xs4all.nl> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org Subject: Re: hm, how to recover from a fscked-up device.hints? 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, 15 Jul 2004 14:26:44 -0000 On Wed, Jul 14, 2004 at 10:36:42PM +0200, Wilko Bulte wrote: > I just created myself an interesting challenge: > > - I basically replaced my /boot/device.hints with a nonsensical one (don't > ask), it is not a device.hints file at all. > > How does one recover from that? Booting kernel.old does not fix it for > obvious reasons.. The device hints show up as environment variables in the loader (use show). You can remove the ones that conflict (use unset) and add the ones that are missing (use set). -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net