Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2012 14:49:41 -0400 (EDT)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Why fdisk can't open root disk with MBR for writing? 
Message-ID:  <alpine.GSO.1.10.1209151448200.861@multics.mit.edu>
In-Reply-To: <201209151322.q8FDMobF058992@fire.js.berklix.net>
References:  <201209151322.q8FDMobF058992@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Sep 2012, Julian H. Stacey wrote:

> I have been applying this diff to my man fdisk:
>
> http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fdisk/
>
> *** 8.0-RELEASE/src/sbin/fdisk/fdisk.8	Sat Mar 14 22:32:16 2009
> --- new-generic/src/sbin/fdisk/fdisk.8	Sat Mar 14 22:35:10 2009
> ***************
> *** 462,464 ****
> --- 462,468 ----
>  The
>  .Xr bsdlabel 8
>  command must be used for this.
> + .Pp
> + When running multi user, you cannot write unless you first run this:
> + .br
> + sysctl kern.geom.debugflags=16
>
> I never submitted it as a send-pr,
> anyone think I should submit it to help save people ?

We have had a long discussion about kern.geom.debugflags starting here:
http://lists.freebsd.org/pipermail/freebsd-current/2011-October/028090.html
My understanding from that discussion is that your patch should not be 
accepted.

-Ben Kaduk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1209151448200.861>