From owner-freebsd-current@FreeBSD.ORG Sat Jan 31 09:06:39 2004 Return-Path: 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 59ED316A4CE for ; Sat, 31 Jan 2004 09:06:39 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63CFB43D4C for ; Sat, 31 Jan 2004 09:06:38 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) i0VH6UTA075392; Sat, 31 Jan 2004 09:06:30 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)i0VH6U7a075391; Sat, 31 Jan 2004 09:06:30 -0800 (PST) (envelope-from sgk) Date: Sat, 31 Jan 2004 09:06:30 -0800 From: Steve Kargl To: Sergey Matveychuk Message-ID: <20040131170630.GA75298@troutmask.apl.washington.edu> References: <401B31DA.9000203@ciam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <401B31DA.9000203@ciam.ru> User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: write on device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 17:06:39 -0000 On Sat, Jan 31, 2004 at 07:40:58AM +0300, Sergey Matveychuk wrote: > Hello. > > It's looks like I can't write on devices into boot area on 5.x? > Even when I'm root. Why? > I can't create a partition, can't change MBR (I'm working with grub). > > Is there a workaround? This is becoming a FAQ. The author of GEOM has given GEOM the useful feature of disabling writes to active devices. You can set the kern.geom.debugflags sysctl in /boot/loader.conf to 16 which allows footshooting. -- Steve