From owner-freebsd-current Tue Dec 17 11:20:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FA6F37B401 for ; Tue, 17 Dec 2002 11:20:24 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9173A43EA9 for ; Tue, 17 Dec 2002 11:20:23 -0800 (PST) (envelope-from winter@jurai.net) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.6/8.12.5) with ESMTP id gBHJKM6D078700; Tue, 17 Dec 2002 14:20:22 -0500 (EST) (envelope-from winter@jurai.net) Date: Tue, 17 Dec 2002 14:20:22 -0500 (EST) From: "Matthew N. Dodd" To: Ray Kohler Cc: freebsd-current@FreeBSD.ORG Subject: Re: writing to mbr under GEOM In-Reply-To: <20021217022726.GA13504@arkadia.nv.cox.net> Message-ID: <20021217141854.W71891-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 16 Dec 2002, Ray Kohler wrote: > What's the status of the issue where devices with open partitions can't > have their boot sectors written to? I know phk@ was working on it a > while back but it's something I'd like to see fixed soon, maybe before > release? I've been using the following: ftp://ftp.jurai.net/users/winter/patches/geom-foot.patch Set the sysctl 'kern.geom.allow_foot_shooting' to 1 and cross your fingers. Most of the time accessing an already open device is harmless but I've encountered panics a few times. YMMV -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message