bin/162801: add to man fdisk: sysctl kern.geom.debugflags=16

Andrey V. Elsukov ae at FreeBSD.org
Thu Nov 24 04:50:04 UTC 2011


The following reply was made to PR bin/162801; it has been noted by GNATS.

From: "Andrey V. Elsukov" <ae at FreeBSD.org>
To: "Julian H. Stacey" <jhs at barklix.com>
Cc: FreeBSD-gnats-submit at FreeBSD.org, Carl Johnson <carlj at peak.org>, 
 Robert <traveling08 at cox.net>
Subject: Re: bin/162801: add to man fdisk: sysctl kern.geom.debugflags=16
Date: Thu, 24 Nov 2011 08:25:02 +0400

 On 24.11.2011 3:05, Julian H. Stacey wrote:
 >> Originator:     Julian H. Stacey
 >> Release:        FreeBSD 8.2-RELEASE amd64
 >> Description:
 > 	man fdisk lacks info
 > 	
 >> How-To-Repeat:
 > 	This bit me in 7.1-REL
 > 	 & just bit Robert <traveling08 at cox.net> cc'd in 8.2-REL
 > http://lists.freebsd.org/pipermail/freebsd-questions/2011-November/235695.html
 > 	
 >> Fix:
 > 	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
 
 No, this is bad suggestion. You should use gpart(8) instead.
 
 -- 
 WBR, Andrey V. Elsukov


More information about the freebsd-bugs mailing list