Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 13:39:40 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Hiten Pandya <hiten@unixdaemons.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: machdep.guessed_bootdev sysctl on i386
Message-ID:  <20030225133748.C8899-100000@gamplex.bde.org>
In-Reply-To: <20030224143615.GB74746@unixdaemons.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225133748.C8899-100000>