From owner-freebsd-current@FreeBSD.ORG Wed Mar 31 01:57:50 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 F3EAE16A4CF for ; Wed, 31 Mar 2004 01:57:49 -0800 (PST) Received: from vault.redlinenetworks.com (mail.redlinenetworks.com [216.136.145.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC6E43D2D for ; Wed, 31 Mar 2004 01:57:49 -0800 (PST) (envelope-from scott@redlinenetworks.com) Received: from redlinenetworks.com (melkor.redlinenetworks.com [192.168.0.8]) i2V9vhCH003278; Wed, 31 Mar 2004 01:57:44 -0800 (PST) (envelope-from scott@redlinenetworks.com) Message-ID: <406A9692.4080501@redlinenetworks.com> Date: Wed, 31 Mar 2004 01:59:46 -0800 From: Scott Sewall Organization: Redline Networks, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Kargl References: <401B31DA.9000203@ciam.ru> <20040131170630.GA75298@troutmask.apl.washington.edu> In-Reply-To: <20040131170630.GA75298@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Sergey Matveychuk 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: Wed, 31 Mar 2004 09:57:50 -0000 Steve Kargl wrote: >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. > > No need to modify loader.conf. You can simply execute the following command: sysctl -w kern.geom.debugflags=16 -- Scott