Subject: Re: CVS commit: src/sys/arch
To: None <>
From: Izumi Tsutsui <>
List: tech-kern
Date: 11/09/2006 01:00:31 wrote:

> Im not sure if it's what you're asking, but we can't allow overwriting
> of the disklabel at securelevel > 0, because that would allow overwriting
> any other disk partition, which is forbidden for obvious reasons.

Overwriting LABELSECTOR via RAW_PART is always allowed, isn't it?
I'm wondering what will happen if we always allow overwriting
(some people might become unhappy by miss operation on root partition?)

BTW, is there such securelevel (or kauth) checks on overwriting
disklabel (on ports other than current news68k and newsmips)?
Isn't it a check of raw write against mounted filesystems?
Izumi Tsutsui