Re: aliasing (or renaming) kern.geom.debugflags

From: Benjamin Kaduk <kaduk_at_MIT.EDU>
Date: Mon, 24 Oct 2011 21:18:57 -0400 (EDT)
On Mon, 24 Oct 2011, Andrey V. Elsukov wrote:

> On 24.10.2011 1:54, Arnaud Lacombe wrote:
>> NOTE
>>  Protection mechanisms in the geom(4) subsystem might prevent boot0cfg
>>  from being able to update the MBR on a mounted disk.  Instructions for
>>  temporarily disabling these protection mechanisms can be found in the
>>  geom(4) manpage. Specifically, do a
>>
>>        sysctl kern.geom.debugflags=0x10
>>
>>  to allow writing to the MBR, and restore it to 0 afterwards.
>
> This is stale message. boot0cfg might work without this.

On a *mounted* disk? Surely that qualifies as an "open" for the purposes 
of the check.

-Ben Kaduk
Received on Mon Oct 24 2011 - 23:19:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC