From owner-freebsd-current Mon Feb 24 18:38:36 2003 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 24CD937B401 for ; Mon, 24 Feb 2003 18:38:35 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CCDF43F93 for ; Mon, 24 Feb 2003 18:38:34 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id NAA22261; Tue, 25 Feb 2003 13:38:24 +1100 Date: Tue, 25 Feb 2003 13:39:40 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Hiten Pandya Cc: current@FreeBSD.ORG Subject: Re: machdep.guessed_bootdev sysctl on i386 In-Reply-To: <20030224143615.GB74746@unixdaemons.com> Message-ID: <20030225133748.C8899-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Mon, 24 Feb 2003, Hiten Pandya wrote: > Bruce Evans (Mon, Feb 24, 2003 at 06:27:26PM +1100) wrote: > > On Mon, 24 Feb 2003, I wrote: > > I tested with plain -current and old boot blocks. The sysctl still reports > > ad disks correctly. > > > > I don't care about the sysctl but want to keep the boot blocks as > > backwards compatible as possible. That means passing the boot device > > in the old encoding, which only takes a couple of lines of code. > > Ok, I don't want to change the encoding or anything, but I think the > sysctl should be nuked. Please see my later post to this thread, I have > provided a patch. The one that mostly remove stuff seems OK. piocbsd seems to have been just broken in using the sysctl to obtain the root device (the root device may be different from the boot device). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message