From owner-cvs-src@FreeBSD.ORG Wed Feb 7 23:57:34 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 774AC16A405 for ; Wed, 7 Feb 2007 23:57:34 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 1EA0713C442 for ; Wed, 7 Feb 2007 23:57:34 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 34818 invoked from network); 7 Feb 2007 23:57:35 -0000 Received: from 112x189.showfloor.net (HELO ?199.222.112.189?) (nate-mail@199.222.112.189) by root.org with ESMTPA; 7 Feb 2007 23:57:35 -0000 Message-ID: <45CA6766.4010905@root.org> Date: Wed, 07 Feb 2007 15:57:26 -0800 From: Nate Lawson User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: John Baldwin References: <2107.1170888121@critter.freebsd.dk> <20070207225651.T23167@fledge.watson.org> <45CA60F7.4000507@root.org> <200702071844.49532.jhb@freebsd.org> In-Reply-To: <200702071844.49532.jhb@freebsd.org> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcel Moolenaar , cvs-src@freebsd.org, cvs-all@freebsd.org, Poul-Henning Kamp , src-committers@freebsd.org, Robert Watson Subject: Re: cvs commit: src/sys/amd64/conf GENERIC src/sys/arm/conf EP80219 src/sys/conf NOTES files files.powerpc options src/sys/geom geom_apple.c geom_gpt.c src/sys/geom/part g_part.c g_part.h g_part_apm.c g_part_gpt.c g_part_if.m src/sys/i386/conf GENERIC ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 23:57:35 -0000 John Baldwin wrote: > On Wednesday 07 February 2007 18:29, Nate Lawson wrote: >> I assume phk@ is referring to the geom debug flags sysctl. The problem >> with that approach is that it disabled (and potentially left disabled if >> the flag wasn't cleared as the tool exits) all protection for the >> devnode behind the mounted drive. If something else was running at the >> same time, it could overwrite any data on the devnode. Or the fdisk >> tool could write anywhere in the device, not just the boot sector. > > No, fdisk and bsdlabel don't frob the sysctl, they talk directly to GEOM to > update the stuff as well using MBR-specific or BSD label-specific requests. Sorry, I was thinking of sysinstall. -- Nate