From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 15 18:49:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B80D7106566B for ; Sat, 15 Sep 2012 18:49:46 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU [18.9.25.14]) by mx1.freebsd.org (Postfix) with ESMTP id 090218FC0A for ; Sat, 15 Sep 2012 18:49:45 +0000 (UTC) X-AuditID: 1209190e-b7f256d000000c6a-56-5054cdc8a814 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id 6F.B9.03178.8CDC4505; Sat, 15 Sep 2012 14:49:44 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id q8FInhT1007315; Sat, 15 Sep 2012 14:49:44 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q8FInfiR027313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 15 Sep 2012 14:49:42 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id q8FInfM6022216; Sat, 15 Sep 2012 14:49:41 -0400 (EDT) Date: Sat, 15 Sep 2012 14:49:41 -0400 (EDT) From: Benjamin Kaduk To: "Julian H. Stacey" In-Reply-To: <201209151322.q8FDMobF058992@fire.js.berklix.net> Message-ID: References: <201209151322.q8FDMobF058992@fire.js.berklix.net> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHIsWRmVeSWpSXmKPExsUixG6nonvibEiAwfzHIhbbN/9jtNiz9g27 A5PHvxvH2DxmfJrPEsAUxWWTkpqTWZZapG+XwJXx880NtoJO9oqJL98wNjA+YO1i5OSQEDCR aDq4gBnCFpO4cG89WxcjF4eQwD5GiVVtT1kgnA2MEtP/voFyDjBJbPu5iRnCaWCU2PH6BxtI P4uAtsS6OefBbDYBFYmZbzaC2SICGhKvDj0Cs5kF5CUubD7ECGILCzhJXLv9F+wOTgE7iZv3 tzCB2LwC9hLXNh8DqxESsJX42vELrEZUQEdi9f4pLBA1ghInZz5hgZhpKXHuz3W2CYyCs5Ck ZiFJLWBkWsUom5JbpZubmJlTnJqsW5ycmJeXWqRrrJebWaKXmlK6iREUrJySfDsYvx5UOsQo wMGoxMP7ITs4QIg1say4MvcQoyQHk5Ior/qpkAAhvqT8lMqMxOKM+KLSnNTiQ4wSHMxKIryH JgPleFMSK6tSi/JhUtIcLErivFdSbvoLCaQnlqRmp6YWpBbBZGU4OJQkeI+cAWoULEpNT61I y8wpQUgzcXCCDOcBGj4LpIa3uCAxtzgzHSJ/ilFRSpz3I0hCACSRUZoH1wtLJq8YxYFeEea9 A1LFA0xEcN2vgAYzAQ1e+CkIZHBJIkJKqoFRaK2A3mTBU/Pi+u45SlQnH+1KOMEe/SxQZPP6 LxNFrnat2n25766Gda3O+k7v0K6Zql1TMl0X/O0zD9qxMvXo2XeMp8J3fH0+QUPl9onyHUKG d9hfc7+P+MRzefGZGbZ6Hq0eb+fHns/VeJ74SevtZ+/tdw9P+MijPaXpgMINQ9ZO3wOx8XK6 SizFGYmGWsxFxYkAOevR0gEDAAA= Cc: freebsd-hackers@freebsd.org Subject: Re: Why fdisk can't open root disk with MBR for writing? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2012 18:49:46 -0000 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