Subject: Re: CVS commit: src/usr.sbin/installboot
To: None <>
From: Izumi Tsutsui <>
List: source-changes
Date: 11/03/2003 01:24:21
In article <> wrote:

> for some platforms, it *must* be RAW_PART ('c'), but for some it can
> be on a per-partition basis.  i believe x86 is one of those.

Some platforms require to write some code in LABELSECTOR on installboot,
but MD bounds_check_with_label() doesn't allow it unless RAW_PART
is specified.
(If RAW_PART is specified, bounds_check_with_label() is not called)

On news68k, I changed bounds_check_with_label() to skip
the check on securelevel == 0, but Christoph Badura suggested
me to use proper ioctl() to write data in LABELSECTOR.

I don't know what is the right solution, though.
Izumi Tsutsui