aliasing (or renaming) kern.geom.debugflags
Benjamin Kaduk
kaduk at MIT.EDU
Tue Oct 25 01:19:01 UTC 2011
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
More information about the freebsd-current
mailing list