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. > Current kernels ignore this and use a device name passed in the > environment. This is presumably returned by the kenv syscall although > not by a sysctl, so the sysctl is certainly not needed. I didn't test > this since my boot blocks are too old and simple to pass an environment. > They pass the device name more directly.
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. Cheers. -- Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED]) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message