Re: aliasing (or renaming) kern.geom.debugflags
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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 40 之 44 篇):