Re: aliasing (or renaming) kern.geom.debugflags
Hi,
2011/10/7 Andrey V. Elsukov <bu7cher@yandex.ru>:
> On 07.10.2011 23:41, Glen Barber wrote:
>> In my experience, without kern.geom.debugflags=16, the MBR will not be
>> written to the memstick, leaving you with what would effectively be a
>> coaster in the not-so-distant past.
>
> The problem is that this bad suggestion is everywhere in the Internet.
> And users use it always even when it not needed. I think it is bad idea
> add it in the our official documentation.
FWIW, boot0cfg(8) also mentions it:
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.
- Arnaud
> When you doing all in the right way using debugflags=16 is not needed.
> And it is really dangerous when you doing something what you do not know
> exactly.
>
> --
> WBR, Andrey V. Elsukov
>
>
_______________________________________________
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"
討論串 (同標題文章)
完整討論串 (本文為第 38 之 44 篇):